diff options
author | Kirill Bobyrev <kbobyrev@google.com> | 2021-10-26 17:10:51 +0200 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev@google.com> | 2021-10-26 17:17:10 +0200 |
commit | 03506722e0c348ce52d87f7f37f024d7adec5c43 (patch) | |
tree | 0c0493e879ab082de1be80cd038b917f1f129c0b /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 082d2ad015bdc3c70768d02beba905489daa1c0e (diff) | |
download | llvm-03506722e0c348ce52d87f7f37f024d7adec5c43.zip llvm-03506722e0c348ce52d87f7f37f024d7adec5c43.tar.gz llvm-03506722e0c348ce52d87f7f37f024d7adec5c43.tar.bz2 |
[clang] Do not traverse EnumDecl's type in RecursiveASTVisitor
This is inconsistent with the code and comments in
RecursiveASTVisitor.h and is not a correct behavior:
https://github.com/llvm/llvm-project/blob/main/clang/include/clang/AST/RecursiveASTVisitor.h#L1879-L1880
> We shouldn't traverse D->getTypeForDecl(); it's a result of
> declaring the type, not something that was written in the source.
Fixes the failures in 1c2e249f938c50e1b331a1f7adc83c0a381f3897
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions