aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-02-10 08:13:09 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-02-12 11:22:56 +0100
commit320647c02ae9827cae0824c6aec2bcdfcf482e44 (patch)
tree8adce09ecfb00b360755e9cc46526f557f9b18ea /clang/lib/Frontend/CompilerInvocation.cpp
parent55e2678fcd4d7eca3f9a602a919da499c1103041 (diff)
downloadllvm-320647c02ae9827cae0824c6aec2bcdfcf482e44.zip
llvm-320647c02ae9827cae0824c6aec2bcdfcf482e44.tar.gz
llvm-320647c02ae9827cae0824c6aec2bcdfcf482e44.tar.bz2
[lldb] Pass a valid SourceLocation to Sema::RequireCompleteType in ASTResultSynthesizer
Sema::RequireCompleteTypeImpl is supposed to have an assert that checks that the SourceLocation that is passed in is always valid. It's currently commented out, but as soon as this assert goes active, nearly every LLDB expression will start crashing as we always pass in an invalid SourceLocation from the ASTResultSynthesizer. This patch just passes in the valid SourceLocation of the expression (which is the SourceLocation where the complete type is required) to prevent that from happening.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions