parent
110c800cee
commit
8469bc7c73
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue