[all-commits] [llvm/llvm-project] afbe54: [clang] Fix wrong -Wunused-local-typedef warning w...
chbessonova via All-commits
all-commits at lists.llvm.org
Mon Mar 21 04:23:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afbe54f2feb0ed3a4d4c03c6107fcdffd21a8394
https://github.com/llvm/llvm-project/commit/afbe54f2feb0ed3a4d4c03c6107fcdffd21a8394
Author: Kristina Bessonova <kbessonova at accesssoftek.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_reference.cpp
M clang/test/Modules/odr_hash.cpp
M clang/test/SemaCXX/warn-unused-local-typedef.cpp
Log Message:
-----------
[clang] Fix wrong -Wunused-local-typedef warning within a template function
Partially fixes PR24883.
The patch sets Reference bit while instantiating a typedef if it
previously was found referenced.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D114382
More information about the All-commits
mailing list