diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-01-16 09:54:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 09:54:36 +0100 |
commit | f725bb960d45ada3cc4667dd7aa22792d389c7e7 (patch) | |
tree | 463f0da3d4668fe614499612abd502b49275d926 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | cd263a7ee00cf508fef54aa9e42789e6a2e60137 (diff) | |
download | llvm-f725bb960d45ada3cc4667dd7aa22792d389c7e7.zip llvm-f725bb960d45ada3cc4667dd7aa22792d389c7e7.tar.gz llvm-f725bb960d45ada3cc4667dd7aa22792d389c7e7.tar.bz2 |
[clang] Fix CTAD not work for function-type and array-type arguments. (#78159)
Fixes https://github.com/llvm/llvm-project/issues/51710.
When transforming a constructor into a corresponding deduction guide,
the decayed types (function/array type) were not handled properly which
made clang fail to compile valid code. The patch teaches clang handle
these decayed type in the transformation.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions