XFAIL vtable-debug-info.cpp on WIN32 and fix curly brace.

llvm-svn: 122230
This commit is contained in:
Francois Pichet 2010-12-20 05:44:28 +00:00
parent e919ba6516
commit bea85d8477
2 changed files with 6 additions and 3 deletions

View File

@ -374,8 +374,7 @@ Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc,
// 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();

View File

@ -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)