[PATCH] D39722: [ASTImporter] Support TypeTraitExpr Importing
Aleksei Sidorin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 02:49:59 PST 2017
a.sidorin added inline comments.
================
Comment at: lib/AST/ASTImporter.cpp:5622
+ SmallVector<TypeSourceInfo *, 4> ToArgVec;
+ for (auto FromArg : E->getArgs()) {
+ TypeSourceInfo *ToTI = Importer.Import(FromArg);
----------------
aaron.ballman wrote:
> `const auto *`?
By the way, you can replace the loop with `ImportContainerChecked()`.
https://reviews.llvm.org/D39722
More information about the cfe-commits
mailing list