[cfe-commits] r122230 - in /cfe/trunk: lib/Sema/SemaExprCXX.cpp test/CodeGenCXX/vtable-debug-info.cpp

Francois Pichet pichet2000 at gmail.com
Sun Dec 19 21:44:28 PST 2010


Author: fpichet
Date: Sun Dec 19 23:44:28 2010
New Revision: 122230

URL: http://llvm.org/viewvc/llvm-project?rev=122230&view=rev
Log:
XFAIL vtable-debug-info.cpp on WIN32 and fix curly brace.

Modified:
    cfe/trunk/lib/Sema/SemaExprCXX.cpp
    cfe/trunk/test/CodeGenCXX/vtable-debug-info.cpp

Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprCXX.cpp?rev=122230&r1=122229&r2=122230&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Sun Dec 19 23:44:28 2010
@@ -374,8 +374,7 @@
 
 // Get the CXXRecordDecl associated with QT bypassing 1 level of pointer,
 // reference or array type.
-static CXXRecordDecl *GetCXXRecordOfUuidArg(QualType QT)
-{
+static CXXRecordDecl *GetCXXRecordOfUuidArg(QualType QT) {
   Type* Ty = QT.getTypePtr();;
   if (QT->isPointerType() || QT->isReferenceType())
     Ty = QT->getPointeeType().getTypePtr();

Modified: cfe/trunk/test/CodeGenCXX/vtable-debug-info.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-debug-info.cpp?rev=122230&r1=122229&r2=122230&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vtable-debug-info.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vtable-debug-info.cpp Sun Dec 19 23:44:28 2010
@@ -1,9 +1,13 @@
 // RUN: %clang -c -g %s -o /dev/null
 // Radar 8730409
+// XFAIL: win32
 
 // FIXME: This test crashes on Windows.
-#ifndef _WIN32
+#ifdef _WIN32
 
+#error this test must xfail
+
+#else
 class foo {
 public:
 #define x(a) virtual void v ## a (void)





More information about the cfe-commits mailing list