diff options
author | Amy Huang <akhuang@google.com> | 2019-10-07 19:41:53 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-10-07 19:41:53 +0000 |
commit | 6bdfe3aeba8bb000571c453669817e9f33e24909 (patch) | |
tree | 95e0985d4b1e29b930bcb9d0fda588668676a498 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | be52ff95063aa3a5f6784d1c3479511d333c7fd6 (diff) | |
download | bcm5719-llvm-6bdfe3aeba8bb000571c453669817e9f33e24909.tar.gz bcm5719-llvm-6bdfe3aeba8bb000571c453669817e9f33e24909.zip |
Fix for expanding __pragmas in macro arguments
Summary:
Avoid parsing __pragma into an annotation token when macro arguments are pre-expanded.
This is what clang currently does when parsing _Pragmas.
Fixes https://bugs.llvm.org/show_bug.cgi?id=41128, where clang crashed
when trying to get the length of an annotation token.
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68114
llvm-svn: 373950
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions