aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorMatthias Gehre <gehre.matthias@gmail.com>2020-04-14 20:17:22 +0200
committerMatthias Gehre <gehre.matthias@gmail.com>2020-04-17 10:37:24 +0200
commit0642e5e7a7e54a11120262cfafea0193e3a75faf (patch)
treeb46e5984d5dfc1f8156858879cb44e731d4e7a8c /llvm/lib/Support/CommandLine.cpp
parentfd7a34186137168064ffe2ca536823559b92d939 (diff)
downloadllvm-0642e5e7a7e54a11120262cfafea0193e3a75faf.zip
llvm-0642e5e7a7e54a11120262cfafea0193e3a75faf.tar.gz
llvm-0642e5e7a7e54a11120262cfafea0193e3a75faf.tar.bz2
[clang-tidy] modernize-use-using: Fix broken fixit with 'template' keyword
Summary: Before this PR, `modernize-use-using` would transform the typedef in ``` template <typename a> class TemplateKeyword { typedef typename a::template f<> e; typedef typename a::template f<>::d e2; }; ``` into ``` template <typename a> class TemplateKeyword { using d = typename a::b<>; using d2 = typename a::template a::b<>::c; }; ``` The first one is missing the `template` keyword, the second one has an extra `a::` scope. Both result in compilation errors. Reviewers: aaron.ballman, alexfh, hokein, njames93 Subscribers: xazax.hun, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78139
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions