summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread
diff options
context:
space:
mode:
authorKristof Umann <dkszelethus@gmail.com>2019-03-12 10:03:32 +0000
committerKristof Umann <dkszelethus@gmail.com>2019-03-12 10:03:32 +0000
commit9f92b3d081228be2a4133bbf8b850f9aa88470cf (patch)
tree7c3fb743718bcfc9ad2190b92f9866ae51b49c0f /lldb/packages/Python/lldbsuite/test/python_api/thread
parent20ea21c6ede8426be9832d684409a2388e2ca31a (diff)
downloadbcm5719-llvm-9f92b3d081228be2a4133bbf8b850f9aa88470cf.tar.gz
bcm5719-llvm-9f92b3d081228be2a4133bbf8b850f9aa88470cf.zip
[analyzer] Fix function macro crash
When there is a functor-like macro which is passed as parameter to another "function" macro then its parameters are not listed at the place of expansion: #define foo(x) int bar() { return x; } #define hello(fvar) fvar(0) hello(foo) int main() { 1 / bar(); } Expansion of hello(foo) asserted Clang, because it expected an l_paren token in the 3rd line after "foo", since it is a function-like token. Patch by Tibor Brunner! Differential Revision: https://reviews.llvm.org/D57893 llvm-svn: 355903
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud