
produce a note for that diagnostic either with a different DiagnosticEngine or after calling DiagnosticEngine::Reset(). That didn't make any sense, and did the wrong thing if the original diagnostic was suppressed. llvm-svn: 170636
20 lines
164 B
C++
20 lines
164 B
C++
struct A {
|
|
int x;
|
|
};
|
|
|
|
struct B : A {
|
|
float y;
|
|
float foo();
|
|
};
|
|
|
|
struct C {
|
|
C(int i = 10);
|
|
C(const C&);
|
|
C &operator=(C&);
|
|
~C();
|
|
};
|
|
|
|
enum E {
|
|
b = 1
|
|
};
|