summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/code_seg2.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2018-05-16 17:00:24 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2018-05-16 17:00:24 +0000
commitc39e85d12cc5a174c51fd046b13a66255b342034 (patch)
treecf5d54a1608d5d7c3fb7d595b23dec1ce6a1bdcf /clang/test/CodeGenCXX/code_seg2.cpp
parent11fd14c1ac219fcf0cebe1760dc459d1d5f20d87 (diff)
downloadbcm5719-llvm-c39e85d12cc5a174c51fd046b13a66255b342034.tar.gz
bcm5719-llvm-c39e85d12cc5a174c51fd046b13a66255b342034.zip
[Modules] Do not diagnose missing import in recovery mode if there isn't a decl to lookup
Clang often tries to create implicit module import for error recovery, which does a great job helping out with diagnostics. However, sometimes clang does not have enough information given that it's using an invalid context to move on. Be more strict in those cases to avoid crashes. We hit crash on invalids because of this but unfortunately there are no testcases and I couldn't manage to create one. The crashtrace however indicates pretty clear why it's happening. rdar://problem/39313933 llvm-svn: 332491
Diffstat (limited to 'clang/test/CodeGenCXX/code_seg2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud