diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-06-27 09:55:44 +0100 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-06-27 09:55:44 +0100 |
commit | 663e47a50f50c9ff0da9ba805f804c06645638ed (patch) | |
tree | 6e8ea64769706168541f2faf1a038d6b85727d2a /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 327307d9d4da0045f762f75343fe66b0f10ecc63 (diff) | |
download | llvm-663e47a50f50c9ff0da9ba805f804c06645638ed.zip llvm-663e47a50f50c9ff0da9ba805f804c06645638ed.tar.gz llvm-663e47a50f50c9ff0da9ba805f804c06645638ed.tar.bz2 |
[OpenCL] Reduce emitting candidate notes for builtins
When overload resolution fails, clang emits a note diagnostic for each
candidate. For OpenCL builtins this often leads to many repeated note
diagnostics with no new information. Stop emitting such notes.
Update a test that was relying on counting those notes to check how
many builtins are available for certain extension configurations.
Differential Revision: https://reviews.llvm.org/D127961
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions