[all-commits] [llvm/llvm-project] 2492c5: [clang] Improve error recovery for pack expansion ...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Mon Oct 31 09:58:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2492c52a05bcad4fab440ac13632051645d66678
https://github.com/llvm/llvm-project/commit/2492c52a05bcad4fab440ac13632051645d66678
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ComputeDependence.cpp
M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
Log Message:
-----------
[clang] Improve error recovery for pack expansion of expressions
Closes #58673.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136962
Commit: edf1a2e89340c8fa64a679e7d4ec2b5ee92ec40f
https://github.com/llvm/llvm-project/commit/edf1a2e89340c8fa64a679e7d4ec2b5ee92ec40f
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
Log Message:
-----------
[clang] Fix handling of unexpanded packs in template argument expressions.
Closes #58679.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136977
Commit: 5f820c0f55cd9d4f4520cc92eae0a1c4afe05a54
https://github.com/llvm/llvm-project/commit/5f820c0f55cd9d4f4520cc92eae0a1c4afe05a54
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.cpp
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
M clang/docs/ReleaseNotes.rst
M clang/lib/Frontend/ASTMerge.cpp
M clang/lib/Sema/Sema.cpp
M clang/test/AST/ast-dump-file-line-json.c
M clang/test/AST/ast-dump-overloaded-operators.cpp
M clang/test/AST/ast-dump-record-definition-data-json.cpp
M clang/test/AST/ast-dump-records-json.cpp
M clang/test/AST/ast-dump-template-decls-json.cpp
M clang/test/AST/ast-dump-traits.cpp
M clang/test/AST/fixed_point.c
M clang/test/AST/float16.cpp
M clang/test/PCH/stmt-openmp_structured_block-bit.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang] ASTImporter: Fix importing of va_list types and declarations
This fixes a problem where __va_list_tag was not correctly imported,
possibly leading to multiple definitions with different types.
This adds __va_list_tag to it's proper scope, so that the ASTImporter
can find it.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136886
Commit: ab1140874fc6ab8ceb55a470489b80d953e1c6a6
https://github.com/llvm/llvm-project/commit/ab1140874fc6ab8ceb55a470489b80d953e1c6a6
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/CXX/drs/dr3xx.cpp
M clang/test/CXX/expr/expr.const/p3-0x.cpp
M clang/test/Misc/diag-template-diffing.cpp
M clang/test/SemaTemplate/instantiation-default-1.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
Log Message:
-----------
[clang] Instantiate NTTPs and template default arguments with sugar
This makes use of the changes introduced in D134604, in order to
instantiate non-type template parameters and default template arguments
with a final sugared substitution.
This comes at no additional relevant cost.
Since we don't track / unique them in specializations, we wouldn't be
able to resugar them later anyway.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136564
Commit: 279fe6281d2ca5b2318c7437316c28750feaac8d
https://github.com/llvm/llvm-project/commit/279fe6281d2ca5b2318c7437316c28750feaac8d
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/CXX/temp/temp.deduct.guide/p3.cpp
M clang/test/Misc/diag-template-diffing.cpp
M clang/test/SemaCXX/sizeless-1.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/temp_arg_nontype.cpp
M lldb/test/API/commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py
M lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py
M lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py
Log Message:
-----------
[clang] Instantiate alias templates with sugar
This makes use of the changes introduced in D134604, in order to
instantiate alias templates witn a final sugared substitution.
This comes at no additional relevant cost.
Since we don't track / unique them in specializations, we wouldn't be
able to resugar them later anyway.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136565
Compare: https://github.com/llvm/llvm-project/compare/5fd03c81767f...279fe6281d2c
More information about the All-commits
mailing list