summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-04-26 16:37:51 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-04-26 16:37:51 +0000
commita84ae0b943bacec50f952a30461bdfa9d482ead1 (patch)
tree753401ee6de7cde2a6fe6f4625ff8ce5ab7b543b /clang/lib/CodeGen/CodeGenFunction.h
parent2cbeb00f3842042accf64fcfc58be6ea3eba42fc (diff)
downloadbcm5719-llvm-a84ae0b943bacec50f952a30461bdfa9d482ead1.tar.gz
bcm5719-llvm-a84ae0b943bacec50f952a30461bdfa9d482ead1.zip
Revert "Update to LLVM's use of WeakTrackingVH; NFC"
This reverts commit r301427. llvm-svn: 301430
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index ca83b7003a6..1ded824ba5b 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -3470,10 +3470,9 @@ public:
/// GenerateCXXGlobalDtorsFunc - Generates code for destroying global
/// variables.
- void GenerateCXXGlobalDtorsFunc(
- llvm::Function *Fn,
- const std::vector<std::pair<llvm::WeakTrackingVH, llvm::Constant *>>
- &DtorsAndObjects);
+ void GenerateCXXGlobalDtorsFunc(llvm::Function *Fn,
+ const std::vector<std::pair<llvm::WeakVH,
+ llvm::Constant*> > &DtorsAndObjects);
void GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn,
const VarDecl *D,
OpenPOWER on IntegriCloud