diff options
author | Yuxuan Chen <yuxuanchen1997@outlook.com> | 2024-01-03 09:01:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 09:01:19 -0800 |
commit | a8f43974260ec244d78336d2530f8fc097753580 (patch) | |
tree | 0fa1ff1227a89fccc686167d41560a64fe0cf012 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | cba217a9138aa8ea8d18111b648acde8f52ada8d (diff) | |
download | llvm-a8f43974260ec244d78336d2530f8fc097753580.zip llvm-a8f43974260ec244d78336d2530f8fc097753580.tar.gz llvm-a8f43974260ec244d78336d2530f8fc097753580.tar.bz2 |
[Clang] Fix ICE where C++ Template Instantiation failed to handle attributed lambdas (#76523)
This PR is proposing a fix for
https://github.com/llvm/llvm-project/issues/76521.
Clang used to assume that during template instantiation, Lambda
expressions can only have `FunctionProtoTypeLoc`s. However, this is not
true for certain attributes like `__attribute__((pcs("aapcs-vfp")))`,
whose interpretation happens after template instantiation. This PR
changes the transformation logic for lambdas.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions