summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-02-08 17:42:00 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-02-08 17:42:00 +0000
commit346fb4bbcd3a082ee4da7b69dc44b80290204d0e (patch)
tree5fd31d02ce7c3c93df165e151b5c754e23d46d3f /clang/lib/Sema/SemaExpr.cpp
parent5e62adad0d3cd54c09170150e982af9d0e6cb71d (diff)
downloadbcm5719-llvm-346fb4bbcd3a082ee4da7b69dc44b80290204d0e.tar.gz
bcm5719-llvm-346fb4bbcd3a082ee4da7b69dc44b80290204d0e.zip
Revert "[OPENMP]Initial support for the delayed diagnostics."
This reverts commit r353540. Erroneously committed, need to fix the message and description. llvm-svn: 353541
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 4d9a8df26f4..b675986f56b 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -14896,9 +14896,6 @@ void Sema::MarkFunctionReferenced(SourceLocation Loc, FunctionDecl *Func,
}
Func->markUsed(Context);
-
- if (LangOpts.OpenMP && LangOpts.OpenMPIsDevice)
- checkOpenMPDeviceFunction(Loc, Func);
}
static void
OpenPOWER on IntegriCloud