projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68adf15
)
[OPENMP] Fixed error message reporting for nesting of regions
author
Alexey Bataev
<a.bataev@hotmail.com>
Wed, 2 Jul 2014 03:04:53 +0000
(
03:04
+0000)
committer
Alexey Bataev
<a.bataev@hotmail.com>
Wed, 2 Jul 2014 03:04:53 +0000
(
03:04
+0000)
llvm-svn: 212156
clang/lib/Sema/SemaOpenMP.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaOpenMP.cpp
b/clang/lib/Sema/SemaOpenMP.cpp
index
c7e377e
..
b1786fe
100644
(file)
--- a/
clang/lib/Sema/SemaOpenMP.cpp
+++ b/
clang/lib/Sema/SemaOpenMP.cpp
@@
-1054,8
+1054,8
@@
bool CheckNestingOfRegions(Sema &SemaRef, DSAStackTy *Stack,
}
if (NestingProhibited) {
SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region)
- << CloseNesting << getOpenMPDirectiveName(ParentRegion)
<< true
- <<
getOpenMPDirectiveName(CurrentRegion) << ShouldBeInParallelRegion
;
+ << CloseNesting << getOpenMPDirectiveName(ParentRegion)
+ <<
ShouldBeInParallelRegion << getOpenMPDirectiveName(CurrentRegion)
;
return true;
}
}