diff options
author | Erich Keane <erich.keane@intel.com> | 2022-11-01 11:37:35 -0700 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2022-11-01 11:39:46 -0700 |
commit | ab4c22e2b735c839c667e08be303f7f8cef3ccf6 (patch) | |
tree | f76e7cd419d2e7360048b39f3c2c64a74f5bf7fb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 00022c5613a7490148ae1147e25a695fc59c5f92 (diff) | |
download | llvm-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