]> granicus.if.org Git - clang/commitdiff
Disambiguate call for GCC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 12 Mar 2015 23:46:55 +0000 (23:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 12 Mar 2015 23:46:55 +0000 (23:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232122 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenFunction.h
lib/CodeGen/EHScopeStack.h

index f93e556b588f7c14417fed52a5a91cb76f5fe129..1795ba3488c17e1331507848c1a46ba655ad73dc 100644 (file)
@@ -380,7 +380,7 @@ public:
     SavedTuple Saved{saveValueInCond(A)...};
 
     typedef EHScopeStack::ConditionalCleanup<T, As...> CleanupType;
-    EHStack.pushCleanup<CleanupType>(kind, Saved);
+    EHStack.pushCleanupTuple<CleanupType>(kind, Saved);
     initFullExprCleanup();
   }
 
index 08dad69e7da3360d76a6b69812b507309707f57c..363d8b8fe4ae565a5a5952b9c19e4fa46dd04757 100644 (file)
@@ -266,7 +266,7 @@ public:
 
   /// Push a lazily-created cleanup on the stack. Tuple version.
   template <class T, class... As>
-  void pushCleanup(CleanupKind Kind, std::tuple<As...> A) {
+  void pushCleanupTuple(CleanupKind Kind, std::tuple<As...> A) {
     void *Buffer = pushCleanup(Kind, sizeof(T));
     Cleanup *Obj = new (Buffer) T(std::move(A));
     (void) Obj;