[PATCH] D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 13 05:23:53 PDT 2023
balazske marked an inline comment as done.
balazske added inline comments.
================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:8627
+ )";
+ Decl *ToTU = getToTuDecl("", Lang_CXX11);
+ Decl *FromTU = getTuDecl(Code, Lang_CXX11);
----------------
bjope wrote:
> With Werror we get:
>
> ```
> ../../clang/unittests/AST/ASTImporterTest.cpp:8627:9: error: unused variable 'ToTU' [-Werror,-Wunused-variable]
> Decl *ToTU = getToTuDecl("", Lang_CXX11);
> ^
>
> ```
Problem was fixed in 1689a5d756f81d615bcfca8de2631b0ccc8a3917.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145868/new/
https://reviews.llvm.org/D145868
More information about the cfe-commits
mailing list