mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 07:31:36 +00:00
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
3 lines
35 B
C
3 lines
35 B
C
#define MY_MACRO 1
|
|
#undef MY_MACRO
|