mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 03:36:08 +00:00

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
14 lines
94 B
C++
14 lines
94 B
C++
struct A {
|
|
int x;
|
|
};
|
|
|
|
struct B : A {
|
|
int y;
|
|
int foo();
|
|
};
|
|
|
|
enum E {
|
|
a = 0,
|
|
b = 1
|
|
};
|