[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
Loading
Please sign in to comment