Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXSourceLocation.cpp250 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in clang_getExpansionLocation() local
254 FileID fileID = SM.getFileID(ExpansionLoc); in clang_getExpansionLocation()
265 *line = SM.getExpansionLineNumber(ExpansionLoc); in clang_getExpansionLocation()
267 *column = SM.getExpansionColumnNumber(ExpansionLoc); in clang_getExpansionLocation()
269 *offset = SM.getDecomposedLoc(ExpansionLoc).second; in clang_getExpansionLocation()
/external/clang/include/clang/Edit/
DEditedSource.h86 SourceLocation &ExpansionLoc,
/external/clang/lib/Basic/
DSourceManager.cpp592 SourceLocation ExpansionLoc, in createMacroArgExpansionLoc() argument
595 ExpansionLoc); in createMacroArgExpansionLoc()
1848 SourceLocation ExpansionLoc, in associateFileChunkWithMacroArgExp() argument
1876 ExpansionLoc, CurrSpellLength); in associateFileChunkWithMacroArgExp()
1884 ExpansionLoc = ExpansionLoc.getLocWithOffset(advance); in associateFileChunkWithMacroArgExp()
1920 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/external/clang/include/clang/Basic/
DSourceManager.h383 SourceLocation ExpansionLoc) { in createForMacroArg() argument
387 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
814 SourceLocation ExpansionLoc,
1680 SourceLocation ExpansionLoc,
/external/clang/lib/Edit/
DEditedSource.cpp27 SourceLocation &ExpansionLoc, in deconstructMacroArgLoc() argument
31 ExpansionLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; in deconstructMacroArgLoc()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h233 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getLocStart()); in AST_POLYMORPHIC_MATCHER() local
234 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER()
237 return SourceManager.isInSystemHeader(ExpansionLoc); in AST_POLYMORPHIC_MATCHER()
259 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getLocStart()); in AST_POLYMORPHIC_MATCHER_P() local
260 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER_P()
264 SourceManager.getFileEntryForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_P()
/external/clang/lib/Lex/
DModuleMap.cpp924 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc(); in inferModuleFromLocation() local
925 if (!ExpansionLoc.isFileID()) in inferModuleFromLocation()
929 FileID ExpansionFileID = ExpansionLoc.getFileID(); in inferModuleFromLocation()