Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h194 create(bool RegexKind, SourceLocation DirectiveLoc,
202 SourceLocation DirectiveLoc; variable
221 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() argument
224 : DirectiveLoc(DirectiveLoc), DiagnosticLoc(DiagnosticLoc), Text(Text), in Directive()
227 assert(!DirectiveLoc.isInvalid() && "DirectiveLoc is invalid!"); in Directive()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DAsmParser.cpp581 bool parseDirectiveFile(SMLoc DirectiveLoc);
608 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
612 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
628 bool parseDirectiveMacro(SMLoc DirectiveLoc);
697 bool parseDirectiveEnd(SMLoc DirectiveLoc);
703 bool parseDirectiveWarning(SMLoc DirectiveLoc);
706 bool parseDirectivePrint(SMLoc DirectiveLoc);
3880 SMLoc DirectiveLoc = getTok().getLoc(); in parseDirectiveCVLoc() local
4227 if (getTargetParser().ParseRegister(RegNo, DirectiveLoc, DirectiveLoc)) in parseRegisterOrRegisterNumber()
5701 instantiateMacroLikeBody(M, DirectiveLoc, OS); in parseDirectiveRept()
[all …]
H A DMasmParser.cpp924 bool parseDirectiveFile(SMLoc DirectiveLoc);
1035 bool parseDirectiveEnd(SMLoc DirectiveLoc);
1054 bool parseDirectiveEcho(SMLoc DirectiveLoc);
5169 SMLoc DirectiveLoc = getTok().getLoc(); in parseDirectiveCVLoc() local
5522 if (getTargetParser().ParseRegister(RegNo, DirectiveLoc, DirectiveLoc)) in parseRegisterOrRegisterNumber()
6501 return Error(DirectiveLoc, Message); in parseDirectiveError()
6527 return Error(DirectiveLoc, Message); in parseDirectiveErrorIfb()
6571 return Error(DirectiveLoc, Message); in parseDirectiveErrorIfdef()
6631 return Error(DirectiveLoc, Message); in parseDirectiveErrorIfidn()
6658 return Error(DirectiveLoc, Message); in parseDirectiveErrorIfe()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp581 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext, true); in ActOnModuleInclude()
582 BuildModuleInclude(DirectiveLoc, Mod); in ActOnModuleInclude()
593 getSourceManager().isWrittenInMainFile(DirectiveLoc); in BuildModuleInclude()
603 DirectiveLoc); in BuildModuleInclude()
611 VisibleModules.setVisible(Mod, DirectiveLoc); in BuildModuleInclude()
615 getLangOpts().CurrentModule, DirectiveLoc, false, false); in BuildModuleInclude()
629 VisibleModules.setVisible(Mod, DirectiveLoc); in ActOnModuleBegin()
660 SourceLocation DirectiveLoc; in ActOnModuleEnd() local
665 DirectiveLoc = getSourceManager().getIncludeLoc(File); in ActOnModuleEnd()
668 DirectiveLoc = EomLoc; in ActOnModuleEnd()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp91 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
94 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in StandardDirective()
108 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
111 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in RegexDirective()
903 if (D->DirectiveLoc != D->DiagnosticLoc) in PrintExpected()
905 << SourceMgr.getFilename(D->DirectiveLoc) << ':' in PrintExpected()
906 << SourceMgr.getPresumedLineNumber(D->DirectiveLoc) << ')'; in PrintExpected()
921 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
925 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
928 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h34 SMLoc DirectiveLoc) { in HandleDirective() argument
36 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DExpandModularHeadersPPCallbacks.cpp163 SourceLocation DirectiveLoc, const Token &IncludeToken, in InclusionDirective() argument
174 parseToLocation(DirectiveLoc); in InclusionDirective()
H A DExpandModularHeadersPPCallbacks.h69 void InclusionDirective(SourceLocation DirectiveLoc,
/llvm-project-15.0.7/clang/lib/Lex/
H A DDependencyDirectivesScanner.cpp465 const char *DirectiveLoc = Input.data() + CurDirToks.front().Offset; in lexModuleDirectiveBody() local
470 DirectiveLoc, in lexModuleDirectiveBody()
481 DirectiveLoc, diag::err_dep_source_scanner_unexpected_tokens_at_import); in lexModuleDirectiveBody()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h3132 void ActOnModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
3133 void BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
3136 void ActOnModuleBegin(SourceLocation DirectiveLoc, Module *Mod);
3138 void ActOnModuleEnd(SourceLocation DirectiveLoc, Module *Mod);