Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h106 SourceLocation &ExpansionLoc,
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp352 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in findAPINotes() local
353 FileID ID = SM.getFileID(ExpansionLoc); in findAPINotes()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp640 SourceLocation SpellingLoc, SourceLocation ExpansionLoc, unsigned Length) { in createMacroArgExpansionLoc() argument
642 ExpansionLoc); in createMacroArgExpansionLoc()
1782 SourceLocation ExpansionLoc, in associateFileChunkWithMacroArgExp() argument
1810 ExpansionLoc, CurrSpellLength); in associateFileChunkWithMacroArgExp()
1818 ExpansionLoc = ExpansionLoc.getLocWithOffset(advance); in associateFileChunkWithMacroArgExp()
1853 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h451 SourceLocation ExpansionLoc) { in createForMacroArg() argument
455 return create(SpellingLoc, ExpansionLoc, SourceLocation()); in createForMacroArg()
949 SourceLocation ExpansionLoc,
1982 SourceLocation ExpansionLoc,
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h271 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() local
272 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER()
275 return SourceManager.isInSystemHeader(ExpansionLoc); in AST_POLYMORPHIC_MATCHER()
298 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX() local
299 if (ExpansionLoc.isInvalid()) { in AST_POLYMORPHIC_MATCHER_REGEX()
303 SourceManager.getFileEntryRefForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_REGEX()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h1150 SourceLocation ExpansionLoc; member
1168 return this->getLocalData()->ExpansionLoc; in getExpansionLoc()
1172 this->getLocalData()->ExpansionLoc = Loc; in setExpansionLoc()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp3202 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt() local
3203 FileID FID = SM.getFileID(ExpansionLoc); in populateExecutedLinesWithStmt()
3204 unsigned LineNo = SM.getExpansionLineNumber(ExpansionLoc); in populateExecutedLinesWithStmt()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp4481 SourceLocation ExpansionLoc = in TryParseCXX11AttributeIdentifier() local
4483 StringRef Spelling = PP.getSpelling(ExpansionLoc, ExpansionBuf); in TryParseCXX11AttributeIdentifier()
4486 ExpansionLoc, in TryParseCXX11AttributeIdentifier()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp2101 SMLoc ExpansionLoc = getTok().getLoc(); in parseStatement() local
2102 if (parseToken(AsmToken::Percent) || expandStatement(ExpansionLoc)) in parseStatement()