Home
last modified time | relevance | path

Searched refs:ExpansionLoc (Results 1 – 5 of 5) sorted by relevance

/external/clang/tools/libclang/
DCXSourceLocation.cpp253 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in clang_getExpansionLocation() local
257 FileID fileID = SM.getFileID(ExpansionLoc); in clang_getExpansionLocation()
268 *line = SM.getExpansionLineNumber(ExpansionLoc); in clang_getExpansionLocation()
270 *column = SM.getExpansionColumnNumber(ExpansionLoc); in clang_getExpansionLocation()
272 *offset = SM.getDecomposedLoc(ExpansionLoc).second; in clang_getExpansionLocation()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h208 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getLocStart()); in AST_POLYMORPHIC_MATCHER() local
209 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER()
212 return SourceManager.isInSystemHeader(ExpansionLoc); in AST_POLYMORPHIC_MATCHER()
234 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getLocStart()); in AST_POLYMORPHIC_MATCHER_P() local
235 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER_P()
239 SourceManager.getFileEntryForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_P()
/external/clang/lib/Basic/
DSourceManager.cpp594 SourceLocation ExpansionLoc, in createMacroArgExpansionLoc() argument
597 ExpansionLoc); in createMacroArgExpansionLoc()
1833 SourceLocation ExpansionLoc, in associateFileChunkWithMacroArgExp() argument
1861 ExpansionLoc, CurrSpellLength); in associateFileChunkWithMacroArgExp()
1869 ExpansionLoc = ExpansionLoc.getLocWithOffset(advance); in associateFileChunkWithMacroArgExp()
1905 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/external/clang/include/clang/Basic/
DSourceManager.h378 SourceLocation ExpansionLoc) { in createForMacroArg() argument
382 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
790 SourceLocation ExpansionLoc,
1641 SourceLocation ExpansionLoc,
/external/clang/lib/Lex/
DModuleMap.cpp918 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc(); in inferModuleFromLocation() local
919 if (!ExpansionLoc.isFileID()) in inferModuleFromLocation()
923 FileID ExpansionFileID = ExpansionLoc.getFileID(); in inferModuleFromLocation()