Commit Graph

3 Commits

Author SHA1 Message Date
NAKAMURA Takumi 742c5fce67 clang/test/Modules/malformed-overload.m: Make sure module cache is clean.
llvm-svn: 301539
2017-04-27 13:08:48 +00:00
Haojian Wu 838c60f405 Don't hard-code "modules-cache-path" in the test.
llvm-svn: 301525
2017-04-27 09:20:46 +00:00
Bruno Cardoso Lopes 370296302d [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
2017-04-26 20:13:45 +00:00