diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-02-23 19:30:08 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-02-23 19:30:08 +0000 |
commit | 4594606c00ae149d2c85a2d53d2489ac1a564835 (patch) | |
tree | 206a1bba1c554eb960008f67149d89621e20c01b /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | b439c7a16db356c240b959db004d901eb5057d2c (diff) | |
download | bcm5719-llvm-4594606c00ae149d2c85a2d53d2489ac1a564835.tar.gz bcm5719-llvm-4594606c00ae149d2c85a2d53d2489ac1a564835.zip |
Reapply r261657.
Remove an unnecessary workaround introduced in r259975. (NFC)
Now that LLVM r259973 allows replacing a temporary type with another
temporary we can rely on the original implementation.
It is possible for enums to be created as part of
their own declcontext. In this case a FwdDecl will be created
twice. This doesn't cause a problem because both FwdDecls are
entered into the ReplaceMap: finalize() will replace the first
FwdDecl with the second and then replace the second with
complete type.
Thanks to echristo for pointing this out.
# Conflicts:
# lib/CodeGen/CGDebugInfo.cpp
llvm-svn: 261673
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions