diff options
author | Kim Grasman <kim.grasman@gmail.com> | 2017-12-26 21:50:12 +0100 |
---|---|---|
committer | Kim Gräsman <kim.grasman@gmail.com> | 2018-01-01 21:40:06 +0100 |
commit | 4ea57620264b8a7a59cbf5cb0420c933f745eee4 (patch) | |
tree | 95196faeb6cc873006ac503534a238b0e5d19902 | |
parent | d3e8a0d8608581fd207323fa9295991ada5c0dcf (diff) |
Expect unscoped enumerator names in diagnostics
Clang r321312 changed the qualified name printer to omit the enum type
from the qualified name of an enumerator (which makes sense, as the
enumerator name is in global scope.)
Update the test suite to use I21 instead of I2Enum::I21
-rw-r--r-- | tests/cxx/badinc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cxx/badinc.h b/tests/cxx/badinc.h index 4bf1461..8428bdf 100644 --- a/tests/cxx/badinc.h +++ b/tests/cxx/badinc.h @@ -244,7 +244,7 @@ class H_TemplateTemplateClass { // TODO(csilvers): attribute this use here, not at the caller sites. // TODO(csilvers): IWYU: I2_TemplateClass::~I2_TemplateClass<.*> is...*badinc-i2-inl.h // IWYU: I2_Enum is...*badinc-i2.h - // IWYU: I2_Enum::I21 is...*badinc-i2.h + // IWYU: I21 is...*badinc-i2.h H_TemplateTemplateClass() : t(T<I2_Enum>(I21)) {} // IWYU: I2_Enum is...*badinc-i2.h T<I2_Enum> t; |