diff options
author | Artem Dergachev <adergachev@apple.com> | 2022-12-20 14:58:35 -0800 |
---|---|---|
committer | Artem Dergachev <adergachev@apple.com> | 2022-12-20 16:05:13 -0800 |
commit | 8fd62e70cde135943e54d80851984988cb00000a (patch) | |
tree | ab62fccfdf262a44141fdaf29c7d585d45b1b078 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 95abdeba6152c3fa15e96b4bababe6311bc9c118 (diff) | |
download | llvm-8fd62e70cde135943e54d80851984988cb00000a.zip llvm-8fd62e70cde135943e54d80851984988cb00000a.tar.gz llvm-8fd62e70cde135943e54d80851984988cb00000a.tar.bz2 |
[-Wunsafe-buffer-usage] Suppress an assertion for visiting VarDecl twice.
The assertion doesn't seem to hold due to ASTMatchers traversing code
inside GNU StmtExpr twice. This can screw up our algorithm's invariants.
We need a further investigation to properly fix this issue, but for now
let's avoid the crash.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions