aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
diff options
context:
space:
mode:
authorinclyc <me@inclyc.cn>2022-07-13 00:12:12 +0800
committerinclyc <me@inclyc.cn>2022-07-25 11:48:24 +0800
commitedaae251cca07c34c55905c424a8f677623d0bd0 (patch)
tree8706fecbbf9d779c185b876d0d9d0863b173087d /llvm/lib/CodeGen/ProcessImplicitDefs.cpp
parent1ef32e78284bc758112632e9e190b6683ea5b95b (diff)
downloadllvm-edaae251cca07c34c55905c424a8f677623d0bd0.zip
llvm-edaae251cca07c34c55905c424a8f677623d0bd0.tar.gz
llvm-edaae251cca07c34c55905c424a8f677623d0bd0.tar.bz2
[clang] better error message for while loops outside of control flow
report an error when encountering 'while' token parsing declarator ``` clang/test/Parser/while-loop-outside-function.c:3:1: error: while loop outside of a function while // expected-error {{while loop outside of a function}} ^ clang/test/Parser/while-loop-outside-function.c:7:1: error: while loop outside of a function while // expected-error {{while loop outside of a function}} ^ ``` Fixes: https://github.com/llvm/llvm-project/issues/34462 Differential Revision: https://reviews.llvm.org/D129573
Diffstat (limited to 'llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
0 files changed, 0 insertions, 0 deletions