/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | QualifiedAutoCheck.cpp | 71 if (TypeSpecifier.getBegin().isMacroID() || in getTypeSpecifierLocation() 72 TypeSpecifier.getEnd().isMacroID()) in getTypeSpecifierLocation() 170 if (!Token || Token->getLocation().isMacroID()) in check() 234 if (!Token || Token->getLocation().isMacroID()) in check() 240 if (!Token || Token->getLocation().isMacroID()) in check() 246 if (!Token || Token->getLocation().isMacroID()) in check() 252 if (TypeSpec->isInvalid() || TypeSpec->getBegin().isMacroID() || in check() 253 TypeSpec->getEnd().isMacroID()) in check() 272 if (TypeSpec->isInvalid() || TypeSpec->getBegin().isMacroID() || in check() 273 TypeSpec->getEnd().isMacroID()) in check()
|
D | MisleadingIndentationCheck.cpp | 39 if (IfLoc.isMacroID() || ElseLoc.isMacroID()) in danglingElseCheck() 84 if (InnerLoc.isInvalid() || InnerLoc.isMacroID() || OuterLoc.isInvalid() || in missingBracesCheck() 85 OuterLoc.isMacroID()) in missingBracesCheck() 95 if (NextLoc.isInvalid() || NextLoc.isMacroID()) in missingBracesCheck()
|
D | IsolateDeclarationCheck.cpp | 46 if (Start.isInvalid() || Start.isMacroID()) in findStartOfIndirection() 52 static bool isMacroID(SourceRange R) { in isMacroID() function 53 return R.getBegin().isMacroID() || R.getEnd().isMacroID(); in isMacroID() 158 if (Start.isInvalid() || Start.isMacroID()) in declRanges() 170 if (DeclRange.isInvalid() || isMacroID(DeclRange)) in declRanges() 194 if (VarNameRange.isInvalid() || isMacroID(VarNameRange)) in declRanges()
|
D | RedundantAccessSpecifiersCheck.cpp | 38 if (ASDecl->getLocation().isMacroID()) { in check() 63 if (LastASDecl->getLocation().isMacroID()) { in check()
|
D | RedundantDeclarationCheck.cpp | 55 (D->getLocation().isMacroID() || Prev->getLocation().isMacroID())) in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | PreferIsaOrDynCastInConditionalsCheck.cpp | 19 AST_MATCHER(Expr, isMacroID) { return Node.getExprLoc().isMacroID(); } in AST_MATCHER() argument 29 allOf(unless(isMacroID()), unless(cxxMemberCallExpr()), in registerMatchers() 38 callExpr(allOf(unless(isMacroID()), unless(cxxMemberCallExpr()), in registerMatchers() 46 unless(isMacroID()), unless(cxxMemberCallExpr()), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseUsingCheck.cpp | 50 if (StartLoc.isMacroID() && IgnoreMacros) in check() 56 if (MatchedDecl->getUnderlyingType()->isArrayType() || StartLoc.isMacroID()) { in check() 78 if (ReplaceRange.getBegin().isMacroID() || in check() 99 if (!ReplaceRange.getEnd().isMacroID()) in check()
|
D | UnaryStaticAssertCheck.cpp | 31 AssertMessage->getBeginLoc().isMacroID() || Loc.isMacroID()) in check()
|
D | UseEqualsDeleteCheck.cpp | 60 if (Func->getLocation().isMacroID() && IgnoreMacros) in check() 71 if (Func->getLocation().isMacroID() && IgnoreMacros) in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | LexerUtils.cpp | 41 if (Start.isInvalid() || Start.isMacroID()) in findPreviousTokenStart() 45 if (BeforeStart.isInvalid() || BeforeStart.isMacroID()) in findPreviousTokenStart() 55 if (Start.isInvalid() || Start.isMacroID()) in findPreviousTokenKind() 60 if (L.isInvalid() || L.isMacroID()) in findPreviousTokenKind() 96 if (Loc.isMacroID()) in rangeContainsExpansionsOrDirectives()
|
D | ASTUtils.cpp | 87 Range.getBegin().isMacroID() || Range.getEnd().isMacroID(); in rangeContainsMacroExpansion()
|
D | LexerUtils.h | 42 if (Start.isInvalid() || Start.isMacroID()) in findPreviousAnyTokenKind() 46 if (L.isInvalid() || L.isMacroID()) in findPreviousAnyTokenKind()
|
/external/llvm-project/clang/lib/Edit/ |
D | Commit.cpp | 229 if (loc.isMacroID()) in canInsert() 235 if (loc.isMacroID()) in canInsert() 259 if (loc.isMacroID()) in canInsertAfterToken() 265 if (loc.isMacroID()) in canInsertAfterToken() 303 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) in canRemoveRange()
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 224 if (loc.isMacroID()) in canInsert() 231 if (loc.isMacroID()) in canInsert() 255 if (loc.isMacroID()) in canInsertAfterToken() 262 if (loc.isMacroID()) in canInsertAfterToken() 302 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) in canRemoveRange()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | ExplicitConstructorCheck.cpp | 42 if (StartLoc.isMacroID() || EndLoc.isMacroID()) in FindToken() 94 if (Loc.isMacroID()) in check()
|
D | AvoidNSObjectNewCheck.cpp | 29 if (ReceiverLocation.isMacroID()) in isMessageExpressionInsideMacro() 33 if (SelectorLocation.isMacroID()) in isMessageExpressionInsideMacro()
|
/external/llvm-project/clang-tools-extra/clang-tidy/objc/ |
D | SuperSelfCheck.cpp | 97 if (ReceiverLoc.isMacroID() || ReceiverLoc.isInvalid()) in check() 101 if (SelectorLoc.isMacroID() || SelectorLoc.isInvalid()) in check()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 129 if (UnexpandedLoc.isValid() && UnexpandedLoc.isMacroID()) { in emitDiagnostic() 278 if (!Loc.isMacroID()) in retrieveMacroLocation() 316 while (Loc.isMacroID()) { in getMacroArgExpansionFileIDs() 373 while (Begin.isMacroID() && BeginFileID != EndFileID) { in mapDiagnosticRanges() 381 while (End.isMacroID() && !BeginLocsMap.count(EndFileID)) { in mapDiagnosticRanges() 385 if (End.isMacroID()) { in mapDiagnosticRanges() 481 assert(Loc.isMacroID() && "Must be a macro expansion!"); in checkRangesForMacroArgExpansion() 531 while (Loc.isMacroID()) { in emitMacroExpansions()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 132 if (UnexpandedLoc.isValid() && UnexpandedLoc.isMacroID()) { in emitDiagnostic() 269 if (!Loc.isMacroID()) in retrieveMacroLocation() 319 while (Loc.isMacroID()) { in getMacroArgExpansionFileIDs() 377 while (Begin.isMacroID() && BeginFileID != EndFileID) { in mapDiagnosticRanges() 385 while (End.isMacroID() && !BeginLocsMap.count(EndFileID)) { in mapDiagnosticRanges() 391 if (End.isMacroID()) { in mapDiagnosticRanges() 485 assert(Loc.isMacroID() && "Must be a macro expansion!"); in checkRangesForMacroArgExpansion() 536 while (L.isMacroID()) { in emitMacroExpansions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | PostfixOperatorCheck.cpp | 51 if (Location.isMacroID() || ReturnType->getAs<TypedefType>() || in check() 78 if (!Location.isMacroID() && !ReturnType->getAs<TypedefType>()) in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/android/ |
D | ComparisonInTempFailureRetryCheck.cpp | 60 if (!Node.getBeginLoc().isMacroID()) in check() 69 while (LocStart.isMacroID()) { in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | StaticAssertCheck.cpp | 87 if (!AssertExpansionLoc.isValid() || !AssertExpansionLoc.isMacroID()) in check() 102 if (!FalseLiteralLoc.isMacroID()) in check() 116 if (AssertLoc.isValid() && !AssertLoc.isMacroID() && in check()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 20 if (S->getLocStart().isMacroID()) in containsMacro() 23 if (S->getLocEnd().isMacroID()) in containsMacro()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
D | SourceExtraction.cpp | 62 return !Loc1.isMacroID() && !Loc2.isMacroID() && in areOnSameLine()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | FasterStrsplitDelimiterCheck.cpp | 105 if (Literal->getBeginLoc().isMacroID() || Literal->getEndLoc().isMacroID()) in check()
|