summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2017-07-01 04:54:53 +0000
committerBrian Gesiak <modocache@gmail.com>2017-07-01 04:54:53 +0000
commit315a27e4b8ea54421d9c1de57fe1e2ce2852580f (patch)
treeff19f6b0829b9c7b5d9426150d6e042261b9cddc /lib/CodeGen
parent65139b8e3f4c84793ebd60966a1c6f18cef29ca4 (diff)
Revert "[Driver] Add -fdiagnostics-hotness-threshold"
Summary: The commit caused a documentation breakage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/CodeGenAction.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp
index 4f03de5514..ba033d9413 100644
--- a/lib/CodeGen/CodeGenAction.cpp
+++ b/lib/CodeGen/CodeGenAction.cpp
@@ -229,9 +229,6 @@ namespace clang {
void *OldDiagnosticContext = Ctx.getDiagnosticContext();
Ctx.setDiagnosticHandler(DiagnosticHandler, this);
Ctx.setDiagnosticsHotnessRequested(CodeGenOpts.DiagnosticsWithHotness);
- if (CodeGenOpts.DiagnosticsHotnessThreshold != 0)
- Ctx.setDiagnosticsHotnessThreshold(
- CodeGenOpts.DiagnosticsHotnessThreshold);
std::unique_ptr<llvm::tool_output_file> OptRecordFile;
if (!CodeGenOpts.OptRecordFile.empty()) {