aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2019-07-15 15:42:41 +0000
committerYonghong Song <yhs@fb.com>2019-07-15 15:42:41 +0000
commite5086481b65a126464e6579fd2240ba691758414 (patch)
tree9165dd1293eeaf39f428863a6dd711958acddcfe /clang/lib/Basic/SourceManager.cpp
parenta13cca41c5cefd3762f57e1992b238117926c735 (diff)
downloadllvm-e5086481b65a126464e6579fd2240ba691758414.zip
llvm-e5086481b65a126464e6579fd2240ba691758414.tar.gz
llvm-e5086481b65a126464e6579fd2240ba691758414.tar.bz2
fix unnamed fiefield issue and add tests for __builtin_preserve_access_index intrinsic
This is a followup patch for https://reviews.llvm.org/D61809. Handle unnamed bitfield properly and add more test cases. Fixed the unnamed bitfield issue. The unnamed bitfield is ignored by debug info, so we need to ignore such a struct/union member when we try to get the member index in the debug info. D61809 contains two test cases but not enough as it does not checking generated IRs in the fine grain level, and also it does not have semantics checking tests. This patch added unit tests for both code gen and semantics checking for the new intrinsic. Signed-off-by: Yonghong Song <yhs@fb.com> llvm-svn: 366076
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions