Home
last modified time | relevance | path

Searched refs:DiagnosticOptions (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.h70 class DiagnosticOptions : public RefCountedBase<DiagnosticOptions>{
71 friend bool ParseDiagnosticArgs(DiagnosticOptions &, llvm::opt::ArgList &,
139 DiagnosticOptions() { in DiagnosticOptions() function
146 using TextDiagnosticFormat = DiagnosticOptions::TextDiagnosticFormat;
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h56 std::unique_ptr<DiagnosticOptions>
66 bool ParseDiagnosticArgs(DiagnosticOptions &Opts, llvm::opt::ArgList &Args,
83 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
133 const DiagnosticOptions &getDiagnosticOpts() const { return *DiagnosticOpts; } in getDiagnosticOpts()
186 static void GenerateDiagnosticArgs(const DiagnosticOptions &Opts,
251 DiagnosticOptions &getDiagnosticOpts() { return *DiagnosticOpts; } in getDiagnosticOpts()
388 DiagnosticOptions &getMutDiagnosticOpts();
H A DLogDiagnosticPrinter.h18 class DiagnosticOptions; variable
54 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
65 LogDiagnosticPrinter(raw_ostream &OS, DiagnosticOptions *Diags,
H A DSARIFDiagnosticPrinter.h25 class DiagnosticOptions; variable
32 SARIFDiagnosticPrinter(raw_ostream &OS, DiagnosticOptions *Diags);
63 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
H A DSerializedDiagnosticPrinter.h22 class DiagnosticOptions; variable
35 DiagnosticOptions *Diags,
H A DDiagnosticRenderer.h50 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
72 DiagnosticOptions *DiagOpts);
145 DiagnosticOptions *DiagOpts) in DiagnosticNoteRenderer()
H A DCompilerInstance.h297 DiagnosticOptions &getDiagnosticOpts() { in getDiagnosticOpts()
300 const DiagnosticOptions &getDiagnosticOpts() const { in getDiagnosticOpts()
705 createDiagnostics(DiagnosticOptions *Opts,
H A DSARIFDiagnostic.h26 DiagnosticOptions *DiagOpts, SarifDocumentWriter *Writer);
H A DTextDiagnostic.h41 DiagnosticOptions *DiagOpts, const Preprocessor *PP = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp113 assert(0 < TabStop && TabStop <= DiagnosticOptions::MaxTabStop && in printableTextForNextCharacter()
657 DiagnosticOptions *DiagOpts, in TextDiagnostic()
807 case DiagnosticOptions::SARIF: in emitDiagnosticLoc()
808 case DiagnosticOptions::Clang: in emitDiagnosticLoc()
812 case DiagnosticOptions::MSVC: OS << '(' << LineNo; break; in emitDiagnosticLoc()
813 case DiagnosticOptions::Vi: OS << " +" << LineNo; break; in emitDiagnosticLoc()
819 if (DiagOpts->getFormat() == DiagnosticOptions::MSVC) { in emitDiagnosticLoc()
830 case DiagnosticOptions::SARIF: in emitDiagnosticLoc()
831 case DiagnosticOptions::Clang: in emitDiagnosticLoc()
832 case DiagnosticOptions::Vi: OS << ':'; break; in emitDiagnosticLoc()
[all …]
H A DTextDiagnosticPrinter.cpp25 DiagnosticOptions *diags, in TextDiagnosticPrinter()
54 const DiagnosticOptions &DiagOpts) { in printDiagnosticOptions()
H A DSARIFDiagnosticPrinter.cpp29 DiagnosticOptions *Diags) in SARIFDiagnosticPrinter()
H A DSerializedDiagnosticPrinter.cpp60 DiagnosticOptions *DiagOpts) in SDiagsRenderer()
143 SDiagsWriter(StringRef File, DiagnosticOptions *Diags, bool MergeChildRecords) in SDiagsWriter()
245 SharedState(StringRef File, DiagnosticOptions *Diags) in SharedState()
250 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
299 create(StringRef OutputFile, DiagnosticOptions *Diags, bool MergeChildRecords) { in create()
H A DCreateInvocationFromCommandLine.cpp35 : CompilerInstance::createDiagnostics(new DiagnosticOptions); in createInvocation()
H A DChainedIncludesSource.cpp120 new TextDiagnosticPrinter(llvm::errs(), new DiagnosticOptions()); in createChainedIncludesSource()
H A DCompilerInvocation.cpp142 DiagnosticOpts(llvm::makeIntrusiveRefCnt<DiagnosticOptions>()), in CompilerInvocationBase()
229 DiagnosticOptions &CowCompilerInvocation::getMutDiagnosticOpts() { in getMutDiagnosticOpts()
825 DiagnosticsEngine DummyDiags(new DiagnosticIDs(), new DiagnosticOptions()); in RoundTrip()
2432 const DiagnosticOptions &Opts, ArgumentConsumer Consumer, in GenerateDiagnosticArgs()
2434 const DiagnosticOptions *DiagnosticOpts = &Opts; in GenerateDiagnosticArgs()
2494 std::unique_ptr<DiagnosticOptions>
2496 auto DiagOpts = std::make_unique<DiagnosticOptions>(); in CreateAndPopulateDiagOpts()
2517 bool clang::ParseDiagnosticArgs(DiagnosticOptions &Opts, ArgList &Args, in ParseDiagnosticArgs()
2522 IgnoringDiags.emplace(new DiagnosticIDs(), new DiagnosticOptions(), in ParseDiagnosticArgs()
2531 DiagnosticOptions *DiagnosticOpts = &Opts; in ParseDiagnosticArgs()
[all …]
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1gen_reproducer_main.cpp120 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions; in generateReproducerForInvocationArguments()
H A Dcc1_main.cpp230 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in cc1_main()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp166 llvm::IntrusiveRefCntPtr<DiagnosticOptions> diags_opts( in Highlight()
167 new DiagnosticOptions()); in Highlight()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp217 DiagnosticOptions *diagOpts, in emitPremigrationErrors()
408 new DiagnosticsEngine(DiagID, new DiagnosticOptions, in getFileRemappings()
537 new DiagnosticsEngine(DiagID, new DiagnosticOptions, in applyTransform()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp245 new DiagnosticOptions); in fillRanges()
522 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions()); in format()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp264 llvm::IntrusiveRefCntPtr<DiagnosticOptions> diags_opts( in TokenVerifier()
265 new DiagnosticOptions()); in TokenVerifier()
H A DClangExpressionParser.cpp159 ClangDiagnosticManagerAdapter(DiagnosticOptions &opts) { in ClangDiagnosticManagerAdapter()
160 DiagnosticOptions *options = new DiagnosticOptions(opts); in ClangDiagnosticManagerAdapter()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp91 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in CreateCI()
167 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = in create()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp380 IntrusiveRefCntPtr<DiagnosticOptions> ParsedDiagOpts; in run()
381 DiagnosticOptions *DiagOpts = this->DiagOpts; in run()

12