Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp540 bool parseDirectiveFile(SMLoc DirectiveLoc);
567 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
570 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
586 bool parseDirectiveMacro(SMLoc DirectiveLoc);
654 bool parseDirectiveEnd(SMLoc DirectiveLoc);
660 bool parseDirectiveWarning(SMLoc DirectiveLoc);
663 bool parseDirectivePrint(SMLoc DirectiveLoc);
3686 SMLoc DirectiveLoc = getTok().getLoc(); in parseDirectiveCVLoc() local
3953 if (getTargetParser().ParseRegister(RegNo, DirectiveLoc, DirectiveLoc)) in parseRegisterOrRegisterNumber()
5444 instantiateMacroLikeBody(M, DirectiveLoc, OS); in parseDirectiveRept()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h155 SourceLocation DirectiveLoc,
164 SourceLocation DirectiveLoc; variable
182 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() argument
184 : DirectiveLoc(DirectiveLoc), DiagnosticLoc(DiagnosticLoc), in Directive()
186 assert(!DirectiveLoc.isInvalid() && "DirectiveLoc is invalid!"); in Directive()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp189 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
207 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
210 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max), in RegexDirective()
744 if (D->DirectiveLoc != D->DiagnosticLoc) in PrintExpected()
746 << SourceMgr.getFilename(D->DirectiveLoc) << ':' in PrintExpected()
747 << SourceMgr.getPresumedLineNumber(D->DirectiveLoc) << ')'; in PrintExpected()
757 static bool IsFromSameFile(SourceManager &SM, SourceLocation DirectiveLoc, in IsFromSameFile() argument
762 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
766 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
769 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h36 SMLoc DirectiveLoc) { in HandleDirective() argument
38 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDecl.cpp17139 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext, true); in ActOnModuleInclude()
17140 BuildModuleInclude(DirectiveLoc, Mod); in ActOnModuleInclude()
17151 getSourceManager().isWrittenInMainFile(DirectiveLoc); in BuildModuleInclude()
17160 DirectiveLoc, Mod, in BuildModuleInclude()
17161 DirectiveLoc); in BuildModuleInclude()
17169 VisibleModules.setVisible(Mod, DirectiveLoc); in BuildModuleInclude()
17180 VisibleModules.setVisible(Mod, DirectiveLoc); in ActOnModuleBegin()
17211 SourceLocation DirectiveLoc; in ActOnModuleEnd() local
17216 DirectiveLoc = getSourceManager().getIncludeLoc(File); in ActOnModuleEnd()
17219 DirectiveLoc = EomLoc; in ActOnModuleEnd()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h2125 void ActOnModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
2126 void BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
2129 void ActOnModuleBegin(SourceLocation DirectiveLoc, Module *Mod);
2131 void ActOnModuleEnd(SourceLocation DirectiveLoc, Module *Mod);