Skip to content
Commit 6c26e747 authored by Richard Smith's avatar Richard Smith
Browse files

Add -Wno-nested-anon-types to -pedantic builds of LLVM. This Clang warning

catches uses of an extremely minor and widely-available C++ extension (which
every C++ compiler I could find supports, but EDG and Clang reject in strict
mode).

The diagnosed code pattern looks like this:

struct X {
  union {
    struct {
      int a;
      int b;
    } S;
  };
};

llvm-svn: 174103
parent 38d3798b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment