From dda56e4b4a9c274c5c4011981bd291523e75d747 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 15 Apr 2011 14:24:37 +0000 Subject: Support for C++11 (non-template) alias declarations. llvm-svn: 129567 --- clang/lib/CodeGen/CodeGenTBAA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenTBAA.cpp') diff --git a/clang/lib/CodeGen/CodeGenTBAA.cpp b/clang/lib/CodeGen/CodeGenTBAA.cpp index 3f2c6cabf2a..622b9a5587d 100644 --- a/clang/lib/CodeGen/CodeGenTBAA.cpp +++ b/clang/lib/CodeGen/CodeGenTBAA.cpp @@ -155,7 +155,7 @@ CodeGenTBAA::getTBAAInfo(QualType QTy) { // theoretically implement this by combining information about all the // members into a single identifying MDNode. if (!Features.CPlusPlus && - ETy->getDecl()->getTypedefForAnonDecl()) + ETy->getDecl()->getTypedefNameForAnonDecl()) return MetadataCache[Ty] = getChar(); // In C++ mode, types have linkage, so we can rely on the ODR and -- cgit v1.2.3