diff options
author | Kazu Hirata <kazu@google.com> | 2022-07-13 23:39:33 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-07-13 23:39:33 -0700 |
commit | cb2c8f694db15c488f46de6db5a7db444a189fc4 (patch) | |
tree | 0385d2a957c593dd633599d2a348eb88adc6cea7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 05523dc32d8ca81d9a92ff955194a9e80cf79dc0 (diff) | |
download | llvm-cb2c8f694db15c488f46de6db5a7db444a189fc4.zip llvm-cb2c8f694db15c488f46de6db5a7db444a189fc4.tar.gz llvm-cb2c8f694db15c488f46de6db5a7db444a189fc4.tar.bz2 |
[clang] Use value instead of getValue (NFC)
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 50aaab6..48cd6a3 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1976,7 +1976,7 @@ bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, } else { Opts.DiagnosticsHotnessThreshold = *ResultOrErr; if ((!Opts.DiagnosticsHotnessThreshold || - Opts.DiagnosticsHotnessThreshold.getValue() > 0) && + Opts.DiagnosticsHotnessThreshold.value() > 0) && !UsingProfile) Diags.Report(diag::warn_drv_diagnostics_hotness_requires_pgo) << "-fdiagnostics-hotness-threshold="; @@ -1993,7 +1993,7 @@ bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, } else { Opts.DiagnosticsMisExpectTolerance = *ResultOrErr; if ((!Opts.DiagnosticsMisExpectTolerance || - Opts.DiagnosticsMisExpectTolerance.getValue() > 0) && + Opts.DiagnosticsMisExpectTolerance.value() > 0) && !UsingProfile) Diags.Report(diag::warn_drv_diagnostics_misexpect_requires_pgo) << "-fdiagnostics-misexpect-tolerance="; |