diff options
author | Kim Grasman <kim.grasman@gmail.com> | 2017-01-01 17:10:25 +0100 |
---|---|---|
committer | Kim Gräsman <kim.grasman@gmail.com> | 2017-01-06 10:01:32 +0100 |
commit | 52cc0bf1a5976a497b41e72c152325831bc56f01 (patch) | |
tree | 66d3f789807889eb7ec65f2deb6545322b9df7c1 | |
parent | 7bb1d89b3a68b6a9c237fd0eb5b8d7744844a60e (diff) |
Remove incorrect test case assumption on desugared types
Clang r289250 caused more type sugar to remain in the AST. That, in turn, caused
derived_function_tpl_args to fail, because we had a compensating assertion
(marked with a TODO indicating that it was undesirable.)
Now that type sugar survives, we won't see a need for IndirectClass
here. Rather, the use will be attributed to the LocalClass typedef, which exists
in the same file. No diagnostic expected.
-rw-r--r-- | tests/cxx/derived_function_tpl_args.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/cxx/derived_function_tpl_args.cc b/tests/cxx/derived_function_tpl_args.cc index 237a837..8c0946b 100644 --- a/tests/cxx/derived_function_tpl_args.cc +++ b/tests/cxx/derived_function_tpl_args.cc @@ -70,8 +70,6 @@ int main() { Fn(lc); Fn(lc_ptr); FnWithPtr(lc_ptr); - // TODO(csilvers): this is wrong. Figure out how to resugar in this case too. - // IWYU: IndirectClass is...*derived_function_tpl_args-i1.h FnWithReference(lc); FnWithReference(lc_ptr); |