summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-07-16 18:12:18 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-07-16 18:12:18 +0000
commit7f01d209939c3a08c7d15ea145d7056dc138c23a (patch)
tree496f50b691819ca8686d4f51c407d68853422762 /clang/lib
parent496fb3e7a074bf264c5b71b7cc4eb4b82d1e613a (diff)
downloadbcm5719-llvm-7f01d209939c3a08c7d15ea145d7056dc138c23a.tar.gz
bcm5719-llvm-7f01d209939c3a08c7d15ea145d7056dc138c23a.zip
[OPENMP] Fix syntactic errors in error messages.
Fixed spelling of the offloading error messages. llvm-svn: 337196
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
index 1e37c894eea..d3488160404 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -3970,7 +3970,7 @@ void CGOpenMPRuntime::createOffloadEntriesAndInfoMetadata() {
if (!CE->getID() || !CE->getAddress()) {
unsigned DiagID = CGM.getDiags().getCustomDiagID(
DiagnosticsEngine::Error,
- "Offloading entry for target region is incorect: either the "
+ "Offloading entry for target region is incorrect: either the "
"address or the ID is invalid.");
CGM.getDiags().Report(DiagID);
continue;
@@ -3983,7 +3983,7 @@ void CGOpenMPRuntime::createOffloadEntriesAndInfoMetadata() {
if (!CE->getAddress()) {
unsigned DiagID = CGM.getDiags().getCustomDiagID(
DiagnosticsEngine::Error,
- "Offloading entry for declare target varible is inccorect: the "
+ "Offloading entry for declare target variable is incorrect: the "
"address is invalid.");
CGM.getDiags().Report(DiagID);
continue;
OpenPOWER on IntegriCloud