diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-07-20 10:25:00 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-07-20 10:25:00 +0000 |
commit | 4a17dae63132eae37260d6908e3c46c4f0fa34da (patch) | |
tree | 1dea4be85bfdd4b6e02e0882d83c041e82c42f5e /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 9d7863b935101e66cdaa7d719f7cdf95da98ad66 (diff) | |
download | llvm-4a17dae63132eae37260d6908e3c46c4f0fa34da.zip llvm-4a17dae63132eae37260d6908e3c46c4f0fa34da.tar.gz llvm-4a17dae63132eae37260d6908e3c46c4f0fa34da.tar.bz2 |
[globalisel][tablegen] Fix an issue with lambdas when compiling with older GCC's
It seems that G++ 4.8 doesn't accept the 'enum A' in code of the form:
enum A { ... };
const auto &F = []() -> enum A { ... };
However, it does accept:
typedef enum { ... } A;
const auto &F = []() -> A { ... };
llvm-svn: 308599
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions