Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXSourceLocation.cpp241 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()
/openbsd/gnu/llvm/clang/lib/Edit/
H A DEditedSource.cpp35 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()
/openbsd/gnu/llvm/clang/include/clang/Edit/
H A DEditedSource.h106 SourceLocation &ExpansionLoc,
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DSourceManager.h445 SourceLocation ExpansionLoc) { in createForMacroArg() argument
449 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
920 SourceLocation ExpansionLoc,
1912 SourceLocation ExpansionLoc,
/openbsd/gnu/llvm/clang/lib/Basic/
H A DSourceManager.cpp635 SourceLocation SpellingLoc, SourceLocation ExpansionLoc, unsigned Length) { in createMacroArgExpansionLoc() argument
637 ExpansionLoc); in createMacroArgExpansionLoc()
1833 SourceLocation ExpansionLoc, in associateFileChunkWithMacroArgExp() argument
1861 ExpansionLoc, CurrSpellLength); in associateFileChunkWithMacroArgExp()
1869 ExpansionLoc = ExpansionLoc.getLocWithOffset(advance); in associateFileChunkWithMacroArgExp()
1904 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h270 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() local
271 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER()
274 return SourceManager.isInSystemHeader(ExpansionLoc); in AST_POLYMORPHIC_MATCHER()
297 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX() local
298 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER_REGEX()
302 SourceManager.getFileEntryForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_REGEX()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DTypeLoc.h1108 SourceLocation ExpansionLoc; member
1126 return this->getLocalData()->ExpansionLoc; in getExpansionLoc()
1130 this->getLocalData()->ExpansionLoc = Loc; in setExpansionLoc()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp3155 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt() local
3156 FileID FID = SM.getFileID(ExpansionLoc); in populateExecutedLinesWithStmt()
3157 unsigned LineNo = SM.getExpansionLineNumber(ExpansionLoc); in populateExecutedLinesWithStmt()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp4214 SourceLocation ExpansionLoc = in TryParseCXX11AttributeIdentifier() local
4216 StringRef Spelling = PP.getSpelling(ExpansionLoc, ExpansionBuf); in TryParseCXX11AttributeIdentifier()
4219 ExpansionLoc, in TryParseCXX11AttributeIdentifier()
/openbsd/gnu/llvm/llvm/lib/MC/MCParser/
H A DMasmParser.cpp2112 SMLoc ExpansionLoc = getTok().getLoc(); in parseStatement() local
2113 if (parseToken(AsmToken::Percent) || expandStatement(ExpansionLoc)) in parseStatement()