Fix/re-enable test.

llvm-svn: 70800
This commit is contained in:
Eli Friedman 2009-05-03 21:22:18 +00:00
parent 110c800cee
commit 8469bc7c73
2 changed files with 2 additions and 4 deletions

View File

@ -4734,7 +4734,7 @@ Sema::OwningExprResult Sema::ActOnBuiltinOffsetOf(Scope *S,
<< SourceRange(CompPtr[1].LocStart, CompPtr[NumComponents-1].LocEnd);
if (!Dependent) {
bool DidWarnAboutNonPOD;
bool DidWarnAboutNonPOD = false;
// FIXME: Dependent case loses a lot of information here. And probably
// leaks like a sieve.

View File

@ -1,6 +1,4 @@
// FIXME: This test fails on 32-bit platforms? Investigate.
// RUNX: clang-cc -fsyntax-only -verify %s -Winvalid-offsetof
// RUN: clang-cc -fsyntax-only -verify %s -Winvalid-offsetof
struct NonPOD {
virtual void f();