forked from OSchip/llvm-project
XFAIL vtable-debug-info.cpp on WIN32 and fix curly brace.
llvm-svn: 122230
This commit is contained in:
parent
e919ba6516
commit
bea85d8477
|
@ -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();
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue