Revision 64be9eb43e692e40310335ed0bcf1e6687c30d89 authored by Joe Groff on 22 January 2016, 00:36:48 UTC, committed by Slava Pestov on 22 January 2016, 03:05:19 UTC
If you extend a C/ObjC enum type to conform to ErrorType, then the synthesized _code getter ends up registered as an external decl, but appears to already get synthesized due to @slavapestov's changes. I'm not sure whether this is reliable enough that we can simply stop registering the external decls, so just to keep the build from crashing, insert a check in emitExternalDecls that we didn't already emit the decl and skip emission. Low-risk workaround for rdar://problem/24287125.
1 parent 3a630b5
File | Mode | Size |
---|---|---|
apinotes | ||
benchmark | ||
bindings | ||
cmake | ||
docs | ||
include | ||
lib | ||
stdlib | ||
test | ||
tools | ||
unittests | ||
utils | ||
validation-test | ||
.clang-format | -rw-r--r-- | 19 bytes |
.dir-locals.el | -rw-r--r-- | 1.8 KB |
.gitignore | -rw-r--r-- | 1.6 KB |
CHANGELOG.md | -rw-r--r-- | 170.5 KB |
CMakeLists.txt | -rw-r--r-- | 24.6 KB |
CODE_OWNERS.TXT | -rw-r--r-- | 1.2 KB |
CONTRIBUTING.md | -rw-r--r-- | 468 bytes |
LICENSE.txt | -rw-r--r-- | 11.5 KB |
README.md | -rw-r--r-- | 6.5 KB |
Computing file changes ...