Home
last modified time | relevance | path

Searched refs:isMacroID (Results 1 – 25 of 218) sorted by relevance

123456789

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DQualifiedAutoCheck.cpp71 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()
DMisleadingIndentationCheck.cpp39 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()
DIsolateDeclarationCheck.cpp46 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()
DRedundantAccessSpecifiersCheck.cpp38 if (ASDecl->getLocation().isMacroID()) { in check()
63 if (LastASDecl->getLocation().isMacroID()) { in check()
DRedundantDeclarationCheck.cpp55 (D->getLocation().isMacroID() || Prev->getLocation().isMacroID())) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DPreferIsaOrDynCastInConditionalsCheck.cpp19 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/
DUseUsingCheck.cpp50 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()
DUnaryStaticAssertCheck.cpp31 AssertMessage->getBeginLoc().isMacroID() || Loc.isMacroID()) in check()
DUseEqualsDeleteCheck.cpp60 if (Func->getLocation().isMacroID() && IgnoreMacros) in check()
71 if (Func->getLocation().isMacroID() && IgnoreMacros) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DLexerUtils.cpp41 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()
DASTUtils.cpp87 Range.getBegin().isMacroID() || Range.getEnd().isMacroID(); in rangeContainsMacroExpansion()
DLexerUtils.h42 if (Start.isInvalid() || Start.isMacroID()) in findPreviousAnyTokenKind()
46 if (L.isInvalid() || L.isMacroID()) in findPreviousAnyTokenKind()
/external/llvm-project/clang/lib/Edit/
DCommit.cpp229 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/
DCommit.cpp224 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/
DExplicitConstructorCheck.cpp42 if (StartLoc.isMacroID() || EndLoc.isMacroID()) in FindToken()
94 if (Loc.isMacroID()) in check()
DAvoidNSObjectNewCheck.cpp29 if (ReceiverLocation.isMacroID()) in isMessageExpressionInsideMacro()
33 if (SelectorLocation.isMacroID()) in isMessageExpressionInsideMacro()
/external/llvm-project/clang-tools-extra/clang-tidy/objc/
DSuperSelfCheck.cpp97 if (ReceiverLoc.isMacroID() || ReceiverLoc.isInvalid()) in check()
101 if (SelectorLoc.isMacroID() || SelectorLoc.isInvalid()) in check()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp129 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/
DDiagnosticRenderer.cpp132 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/
DPostfixOperatorCheck.cpp51 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/
DComparisonInTempFailureRetryCheck.cpp60 if (!Node.getBeginLoc().isMacroID()) in check()
69 while (LocStart.isMacroID()) { in check()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp87 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/
DCheckerHelpers.cpp20 if (S->getLocStart().isMacroID()) in containsMacro()
23 if (S->getLocEnd().isMacroID()) in containsMacro()
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp62 return !Loc1.isMacroID() && !Loc2.isMacroID() && in areOnSameLine()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DFasterStrsplitDelimiterCheck.cpp105 if (Literal->getBeginLoc().isMacroID() || Literal->getEndLoc().isMacroID()) in check()

123456789