Home
last modified time | relevance | path

Searched refs:getExpansionLocStart (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h367 return SpellLoc.isInvalid() ? getExpansionLocStart() : SpellLoc; in getSpellingLoc()
370 SourceLocation getExpansionLocStart() const { in getExpansionLocStart() function
376 return EndLoc.isInvalid() ? getExpansionLocStart() : EndLoc; in getExpansionLocEnd()
383 SourceRange(getExpansionLocStart(), getExpansionLocEnd()), in getExpansionLocRange()
389 return getExpansionLocStart().isValid() && in isMacroArgExpansion()
394 return getExpansionLocStart().isValid() && in isMacroBodyExpansion()
399 return getExpansionLocStart().isValid() && in isFunctionMacroExpansion()
400 getExpansionLocStart() != getExpansionLocEnd(); in isFunctionMacroExpansion()
/external/clang/include/clang/Basic/
DSourceManager.h319 SourceLocation getExpansionLocStart() const { in getExpansionLocStart() function
325 return EndLoc.isInvalid() ? getExpansionLocStart() : EndLoc; in getExpansionLocEnd()
329 return std::make_pair(getExpansionLocStart(), getExpansionLocEnd()); in getExpansionLocRange()
334 return getExpansionLocStart().isValid() && in isMacroArgExpansion()
339 return getExpansionLocStart().isValid() && in isMacroBodyExpansion()
344 return getExpansionLocStart().isValid() && in isFunctionMacroExpansion()
345 getExpansionLocStart() != getExpansionLocEnd(); in isFunctionMacroExpansion()
/external/clang/lib/Basic/
DSourceManager.cpp900 Loc = getSLocEntry(getFileID(Loc)).getExpansion().getExpansionLocStart(); in getExpansionLocSlowCase()
934 Loc = E->getExpansion().getExpansionLocStart(); in getDecomposedExpansionLocSlowCase()
1010 *StartLoc = Expansion.getExpansionLocStart(); in isMacroArgExpansion()
1035 SourceLocation ExpLoc = ExpInfo.getExpansionLocStart(); in isAtStartOfImmediateMacroExpansion()
1047 PrevEntry.getExpansion().getExpansionLocStart() == ExpLoc) in isAtStartOfImmediateMacroExpansion()
1082 NextEntry.getExpansion().getExpansionLocStart() == in isAtEndOfImmediateMacroExpansion()
1083 ExpInfo.getExpansionLocStart()) in isAtEndOfImmediateMacroExpansion()
1829 if (ExpInfo.getExpansionLocStart().isFileID()) { in computeMacroArgsCache()
1830 if (!isInFileID(ExpInfo.getExpansionLocStart(), FID)) in computeMacroArgsCache()
1980 UpperLoc = Entry.getExpansion().getExpansionLocStart(); in getDecomposedIncludedLoc()
[all …]
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp934 Loc = getSLocEntry(getFileID(Loc)).getExpansion().getExpansionLocStart(); in getExpansionLocSlowCase()
968 Loc = E->getExpansion().getExpansionLocStart(); in getDecomposedExpansionLocSlowCase()
1058 *StartLoc = Expansion.getExpansionLocStart(); in isMacroArgExpansion()
1083 SourceLocation ExpLoc = ExpInfo.getExpansionLocStart(); in isAtStartOfImmediateMacroExpansion()
1095 PrevEntry.getExpansion().getExpansionLocStart() == ExpLoc) in isAtStartOfImmediateMacroExpansion()
1130 NextEntry.getExpansion().getExpansionLocStart() == in isAtEndOfImmediateMacroExpansion()
1131 ExpInfo.getExpansionLocStart()) in isAtEndOfImmediateMacroExpansion()
1754 if (ExpInfo.getExpansionLocStart().isFileID()) { in computeMacroArgsCache()
1755 if (!isInFileID(ExpInfo.getExpansionLocStart(), FID)) in computeMacroArgsCache()
1909 UpperLoc = Entry.getExpansion().getExpansionLocStart(); in getDecomposedIncludedLoc()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp323 ArgLoc = Expansion.getExpansionLocStart(); in getMacroAndArgLocations()
375 Loc = Expansion.getExpansionLocStart(); in expandsFrom()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp76 if (ExpInfoFirst.getExpansionLocStart() != in findCommonRangeForMacroArgs()
77 ExpInfoLast.getExpansionLocStart()) in findCommonRangeForMacroArgs()
/external/clang/lib/Lex/
DLexer.cpp911 BeginEntry.getExpansion().getExpansionLocStart() == in makeFileCharRange()
912 EndEntry.getExpansion().getExpansionLocStart()) { in makeFileCharRange()
968 Loc = Expansion.getExpansionLocStart(); in getImmediateMacroName()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp931 BeginEntry.getExpansion().getExpansionLocStart() == in makeFileCharRange()
932 EndEntry.getExpansion().getExpansionLocStart()) { in makeFileCharRange()
988 Loc = Expansion.getExpansionLocStart(); in getImmediateMacroName()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp695 Loc = Expansion.getExpansionLocStart(); in getExpansionLocOfMacro()
/external/clang/lib/Serialization/
DASTWriter.cpp2020 AddSourceLocation(Expansion.getExpansionLocStart(), Record); in WriteSourceManagerBlock()
/external/clang/tools/libclang/
DCIndex.cpp318 Outer = SLEntry.getExpansion().getExpansionLocStart(); in visitDeclsFromFileRegion()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2031 AddSourceLocation(Expansion.getExpansionLocStart(), Record); in WriteSourceManagerBlock()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp331 Outer = SLEntry.getExpansion().getExpansionLocStart(); in visitDeclsFromFileRegion()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp8683 ExpectedSLoc ToExLocS = Import(FromEx.getExpansionLocStart()); in Import()