[PATCH] D134303: [AST] Preserve more structure in UsingEnumDecl node.
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 22 01:57:36 PDT 2022
martong added inline comments.
================
Comment at: clang/lib/AST/ASTImporter.cpp:4866
auto ToUsingLoc = importChecked(Err, D->getUsingLoc());
- auto ToEnumLoc = importChecked(Err, D->getEnumLoc());
+ auto ToEnumLoc = importChecked(Err, D->getEnumType());
auto ToEnumDecl = importChecked(Err, D->getEnumDecl());
----------------
This name would be more consistent with `getEnumType`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134303/new/
https://reviews.llvm.org/D134303
More information about the cfe-commits
mailing list