aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-04-26 20:13:45 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-04-26 20:13:45 +0000
commit370296302d03772c2d3ff444ac6b267a2434e4c2 (patch)
tree9f8f228c22bddee7faa156b622fa8ca92c4c40d0 /clang/unittests/Basic/SourceManagerTest.cpp
parentd07620663d0e76686af2efbc57e48edf7fbe610b (diff)
downloadllvm-370296302d03772c2d3ff444ac6b267a2434e4c2.zip
llvm-370296302d03772c2d3ff444ac6b267a2434e4c2.tar.gz
llvm-370296302d03772c2d3ff444ac6b267a2434e4c2.tar.bz2
[Modules] Fix a crash-on-invalid with overloaded functions
Do not add an overload if the function doesn't have a prototype; this can happen if, for instance, a misplaced/malformed call site is considered like a declaration for recovery purposes. rdar://problem/31306325 llvm-svn: 301453
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions