diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-11 15:22:14 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-11 15:32:47 -0500 |
commit | 8d94d3c3b44c3a27a69b153cef9be4b8e481150e (patch) | |
tree | 931af284162e86a4dc1883ff1dd2eec198356a2f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c115a78f0d2ac59b6f53634fd057f45211e04a96 (diff) | |
download | llvm-8d94d3c3b44c3a27a69b153cef9be4b8e481150e.zip llvm-8d94d3c3b44c3a27a69b153cef9be4b8e481150e.tar.gz llvm-8d94d3c3b44c3a27a69b153cef9be4b8e481150e.tar.bz2 |
[Attributor][FIX] Disallow function signature rewrite for casted calls
We will now ensure ensure the return type of called function is the type
of all call sites we are going to rewrite. This avoids a problem
partially fixed by D79680. The part that was not covered is a use of
this "weird" casted call site (see `@func3` in `misc_crash.ll`).
misc_crash.ll checks are auto-generated now.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions