diff options
| author | James Dennett <jdennett@google.com> | 2014-03-14 17:44:10 +0000 |
|---|---|---|
| committer | James Dennett <jdennett@google.com> | 2014-03-14 17:44:10 +0000 |
| commit | f5ba472e84dcf35c25993f7d8198c2aea179acff (patch) | |
| tree | 03cf5ae51e67dc2a657bd56c3b81c037edbea71c /test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap | |
| parent | 83f17fdc35a532fb6e95929283f77f8a96fe44d4 (diff) | |
| download | clang-f5ba472e84dcf35c25993f7d8198c2aea179acff.tar.gz clang-f5ba472e84dcf35c25993f7d8198c2aea179acff.tar.bz2 clang-f5ba472e84dcf35c25993f7d8198c2aea179acff.tar.xz | |
Fix a crash (assertion failure) in EvaluateAsRValue.
Summary:
Gracefully fail to evaluate a constant expression if its type is
unknown, rather than failing an assertion trying to access the type.
Reviewers: klimek
Reviewed By: klimek
CC: chandlerc, cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3075
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap')
0 files changed, 0 insertions, 0 deletions
