diff options
author | Shafik Yaghmour <syaghmour@apple.com> | 2019-04-15 23:05:45 +0000 |
---|---|---|
committer | Shafik Yaghmour <syaghmour@apple.com> | 2019-04-15 23:05:45 +0000 |
commit | e4b19c9c28687eb58ea61f2d5da587f6e7bcd7bf (patch) | |
tree | faa815f711a6ce83e16668a75929a8061efb3b3d /llvm/lib/Support/CommandLine.cpp | |
parent | 8eeb56d1333c846d7043fd6a5433782c20b81606 (diff) | |
download | llvm-e4b19c9c28687eb58ea61f2d5da587f6e7bcd7bf.zip llvm-e4b19c9c28687eb58ea61f2d5da587f6e7bcd7bf.tar.gz llvm-e4b19c9c28687eb58ea61f2d5da587f6e7bcd7bf.tar.bz2 |
[ASTImporter] Regression test to ensure that we handling importing of anonymous enums correctly
Summary:
https://reviews.llvm.org/D51633 added error handling in the ASTImporter.cpp which uncovered an underlying bug in which we used the wrong name when handling naming conflicts. This could cause a segmentation fault when attempting to cast an int to an enum during expression parsing.
This test should pass once https://reviews.llvm.org/D59665 is committed.
Differential Revision: https://reviews.llvm.org/D59667
llvm-svn: 358462
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions