diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-14 21:12:44 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-14 21:12:44 +0000 |
commit | 324bbbd16a19c85c4fabbb0996b4a4a69093c3c4 (patch) | |
tree | 3a452ee0a45e7082921a83d363f1fd5f625bdf24 /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 35f1f9fc285ad0980d7fa4474fd1cbbdbfd57988 (diff) | |
download | bcm5719-llvm-324bbbd16a19c85c4fabbb0996b4a4a69093c3c4.tar.gz bcm5719-llvm-324bbbd16a19c85c4fabbb0996b4a4a69093c3c4.zip |
Move BlockLiteralGeneric earlier in CGDebugInfo and remove
BlockLiteralGenericSet and replace with a call to isType() on the
BlockLiteralGeneric.
llvm-svn: 186293
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index ddd4f0b1df1..29df6004474 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -60,6 +60,7 @@ class CGDebugInfo { llvm::DIType OCLImage2dDITy, OCLImage2dArrayDITy; llvm::DIType OCLImage3dDITy; llvm::DIType OCLEventDITy; + llvm::DIType BlockLiteralGeneric; /// TypeCache - Cache of previously constructed Types. llvm::DenseMap<void *, llvm::WeakVH> TypeCache; @@ -79,9 +80,6 @@ class CGDebugInfo { /// compilation. std::vector<std::pair<void *, llvm::WeakVH> >ReplaceMap; - bool BlockLiteralGenericSet; - llvm::DIType BlockLiteralGeneric; - // LexicalBlockStack - Keep track of our current nested lexical block. std::vector<llvm::TrackingVH<llvm::MDNode> > LexicalBlockStack; llvm::DenseMap<const Decl *, llvm::WeakVH> RegionMap; |