summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-04-26 16:22:36 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-04-26 16:22:36 +0000
commit2b5aa7c152903defdc198862a387dcb5ce4d76c9 (patch)
tree63c0c5fb345a8ce74a6a98b2eb595b5b66436035 /clang/lib/CodeGen/CodeGenModule.cpp
parent8b32b8195448ee2b70133ca920291842cc61e6b2 (diff)
downloadbcm5719-llvm-2b5aa7c152903defdc198862a387dcb5ce4d76c9.tar.gz
bcm5719-llvm-2b5aa7c152903defdc198862a387dcb5ce4d76c9.zip
Update to LLVM's use of WeakTrackingVH; NFC
Summary: Depends on D32266 Reviewers: davide, dblaikie Subscribers: mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D32270 llvm-svn: 301427
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 25d32f19d0e..f9673489f8a 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1150,7 +1150,7 @@ void CodeGenModule::addCompilerUsedGlobal(llvm::GlobalValue *GV) {
}
static void emitUsed(CodeGenModule &CGM, StringRef Name,
- std::vector<llvm::WeakVH> &List) {
+ std::vector<llvm::WeakTrackingVH> &List) {
// Don't create llvm.used if there is no need.
if (List.empty())
return;
OpenPOWER on IntegriCloud