| commit | c28ce3aba646d0ea24ab584b9bac88e3a2a7374e | [log] [tgz] |
|---|---|---|
| author | Ben Langmuir <blangmuir@apple.com> | Tue Sep 30 20:00:18 2014 +0000 |
| committer | Ben Langmuir <blangmuir@apple.com> | Tue Sep 30 20:00:18 2014 +0000 |
| tree | 6905ba39906cfd0275cda91407d0e6f1a03211ff | |
| parent | c110c0b99a2b1ef9f5bbad280abc42664971dc80 [diff] |
Avoid a crash after loading an #undef'd macro in code completion In code-completion, don't assume there is a MacroInfo for everything, since we aren't serializing the def corresponding to a later #undef in the same module. Also setup the HadMacro bit correctly for undefs to avoid an assertion failure. rdar://18416901 llvm-svn: 218694