aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2022-11-01 11:37:35 -0700
committerErich Keane <erich.keane@intel.com>2022-11-01 11:39:46 -0700
commitab4c22e2b735c839c667e08be303f7f8cef3ccf6 (patch)
treef76e7cd419d2e7360048b39f3c2c64a74f5bf7fb /clang/lib/Frontend/CompilerInvocation.cpp
parent00022c5613a7490148ae1147e25a695fc59c5f92 (diff)
downloadllvm-ab4c22e2b735c839c667e08be303f7f8cef3ccf6.zip
llvm-ab4c22e2b735c839c667e08be303f7f8cef3ccf6.tar.gz
llvm-ab4c22e2b735c839c667e08be303f7f8cef3ccf6.tar.bz2
[Concepts] Improve diagnostics on a missing 'auto' keyword.
As reported in https://github.com/llvm/llvm-project/issues/49192, we did a pretty poor job diagnosing cases where someone forgot 'auto', a nd is probably in the middle of a variable declaration. This patch makes us properly diagnose in cases where the next token is a reference, or CVR qualifier.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions