aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-02-11 05:35:55 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-02-11 05:35:55 +0000
commit4244be25bd7c438ac755813ff33e6e80ca6b6f34 (patch)
tree070f65691c352cc73445c89a3be0f36b69a0d938 /clang/lib/CodeGen/CGDecl.cpp
parentfe26def35c61d4773b5378a1e797033538f96bf8 (diff)
downloadllvm-4244be25bd7c438ac755813ff33e6e80ca6b6f34.zip
llvm-4244be25bd7c438ac755813ff33e6e80ca6b6f34.tar.gz
llvm-4244be25bd7c438ac755813ff33e6e80ca6b6f34.tar.bz2
[OPENMP] Rename OMPCapturedFieldDecl to OMPCapturedExprDecl, NFC.
OMPCapturedExprDecl allows caopturing not only of fielddecls, but also other expressions. It also allows to simplify codegen for several clauses. llvm-svn: 260492
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index 3d84b26..5b88ef1 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -92,7 +92,7 @@ void CodeGenFunction::EmitDecl(const Decl &D) {
case Decl::Label: // __label__ x;
case Decl::Import:
case Decl::OMPThreadPrivate:
- case Decl::OMPCapturedField:
+ case Decl::OMPCapturedExpr:
case Decl::Empty:
// None of these decls require codegen support.
return;