Files
clang-p2996/clang/lib/AST/Interp/Function.cpp
Timm Bäder e8fb478f2d [clang][Interp] Don't call getSource() on functions without a body
For builtin functions, we create a Function instance without a body or
code. When emitting diagnostics from them, we need a proper SourceInfo
to point to, but the only thing we can use is the call site of the
builtin function.

Differential Revision: https://reviews.llvm.org/D149824
2023-05-05 11:59:42 +02:00

1.7 KiB