[PATCH] D70819: [ASTImporter] Support functions with placeholder return types ...
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 10 11:04:59 PST 2019
shafik accepted this revision.
shafik added a comment.
Besides my comments about different scenarios this LGTM
================
Comment at: clang/lib/AST/ASTImporter.cpp:3018
+
+bool ASTNodeImporter::hasAutoReturnTypeDeclaredInside(FunctionDecl *D) {
+ QualType FromTy = D->getType();
----------------
I added a comment with several examples of C++ code that I am not sure if this will catch or not. Since C++17 we allow types to be declared in several more places.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70819/new/
https://reviews.llvm.org/D70819
More information about the cfe-commits
mailing list