/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 250 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/llvm-project/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 241 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in clang_getExpansionLocation() local 245 FileID fileID = SM.getFileID(ExpansionLoc); in clang_getExpansionLocation() 256 *line = SM.getExpansionLineNumber(ExpansionLoc); in clang_getExpansionLocation() 258 *column = SM.getExpansionColumnNumber(ExpansionLoc); in clang_getExpansionLocation() 260 *offset = SM.getDecomposedLoc(ExpansionLoc).second; in clang_getExpansionLocation()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | FileExtensionsUtils.cpp | 19 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in isExpansionLocInHeaderFile() local 20 return isFileExtension(SM.getFilename(ExpansionLoc), HeaderFileExtensions); in isExpansionLocInHeaderFile()
|
/external/llvm-project/clang/lib/Edit/ |
D | EditedSource.cpp | 35 SourceLocation &ExpansionLoc, in deconstructMacroArgLoc() argument 42 ExpansionLoc = ImmediateExpansionLoc; in deconstructMacroArgLoc() 43 while (SourceMgr.isMacroBodyExpansion(ExpansionLoc)) in deconstructMacroArgLoc() 44 ExpansionLoc = in deconstructMacroArgLoc() 45 SourceMgr.getImmediateExpansionRange(ExpansionLoc).getBegin(); in deconstructMacroArgLoc()
|
/external/llvm-project/clang-tools-extra/clang-move/ |
D | Move.cpp | 115 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_P() local 116 if (ExpansionLoc.isInvalid()) in AST_POLYMORPHIC_MATCHER_P() 119 SourceManager.getFileEntryForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_P() 340 auto ExpansionLoc = SM.getExpansionLoc(D->getBeginLoc()); in isInHeaderFile() local 341 if (ExpansionLoc.isInvalid()) in isInHeaderFile() 344 if (const auto *FE = SM.getFileEntryForID(SM.getFileID(ExpansionLoc))) { in isInHeaderFile()
|
/external/clang/include/clang/Edit/ |
D | EditedSource.h | 86 SourceLocation &ExpansionLoc,
|
/external/llvm-project/clang/include/clang/Edit/ |
D | EditedSource.h | 106 SourceLocation &ExpansionLoc,
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 383 SourceLocation ExpansionLoc) { in createForMacroArg() argument 387 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg() 814 SourceLocation ExpansionLoc, 1680 SourceLocation ExpansionLoc,
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 592 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/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 621 SourceLocation ExpansionLoc, in createMacroArgExpansionLoc() argument 624 ExpansionLoc); in createMacroArgExpansionLoc() 1773 SourceLocation ExpansionLoc, in associateFileChunkWithMacroArgExp() argument 1801 ExpansionLoc, CurrSpellLength); in associateFileChunkWithMacroArgExp() 1809 ExpansionLoc = ExpansionLoc.getLocWithOffset(advance); in associateFileChunkWithMacroArgExp() 1844 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 27 SourceLocation &ExpansionLoc, in deconstructMacroArgLoc() argument 31 ExpansionLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; in deconstructMacroArgLoc()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 440 SourceLocation ExpansionLoc) { in createForMacroArg() argument 444 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg() 905 SourceLocation ExpansionLoc, 1854 SourceLocation ExpansionLoc,
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 233 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/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.cpp | 898 auto ExpansionLoc = Result.SourceManager->getExpansionLoc(D->getBeginLoc()); in fixTypeLoc() local 899 if (ExpansionLoc.isInvalid()) in fixTypeLoc() 901 llvm::StringRef Filename = Result.SourceManager->getFilename(ExpansionLoc); in fixTypeLoc()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 266 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() local 267 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER() 270 return SourceManager.isInSystemHeader(ExpansionLoc); in AST_POLYMORPHIC_MATCHER() 293 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX() local 294 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER_REGEX() 298 SourceManager.getFileEntryForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_REGEX()
|
/external/llvm-project/clang/include/clang/AST/ |
D | TypeLoc.h | 1076 SourceLocation ExpansionLoc; member 1094 return this->getLocalData()->ExpansionLoc; in getExpansionLoc() 1098 this->getLocalData()->ExpansionLoc = Loc; in setExpansionLoc()
|
/external/clang/lib/Lex/ |
D | ModuleMap.cpp | 924 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc(); in inferModuleFromLocation() local 925 if (!ExpansionLoc.isFileID()) in inferModuleFromLocation() 929 FileID ExpansionFileID = ExpansionLoc.getFileID(); in inferModuleFromLocation()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 3124 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt() local 3125 FileID FID = SM.getFileID(ExpansionLoc); in populateExecutedLinesWithStmt() 3126 unsigned LineNo = SM.getExpansionLineNumber(ExpansionLoc); in populateExecutedLinesWithStmt()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 4001 SourceLocation ExpansionLoc = in TryParseCXX11AttributeIdentifier() local 4003 StringRef Spelling = PP.getSpelling(ExpansionLoc, ExpansionBuf); in TryParseCXX11AttributeIdentifier() 4006 ExpansionLoc, in TryParseCXX11AttributeIdentifier()
|
/external/llvm-project/llvm/lib/MC/MCParser/ |
D | MasmParser.cpp | 1979 SMLoc ExpansionLoc = getTok().getLoc(); in parseStatement() local 1980 if (parseToken(AsmToken::Percent) || expandStatement(ExpansionLoc)) in parseStatement()
|