summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-03-14 12:41:24 +0000
committerHaojian Wu <hokein@google.com>2016-03-14 12:41:24 +0000
commite641cb4807d569a9ddf32e289a40df539f75940d (patch)
tree9a89982766630d6cf566143e09e9e78af8e2d347 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parent22c997deb69f36b73675f0a07545de7127a0eb83 (diff)
downloadbcm5719-llvm-e641cb4807d569a9ddf32e289a40df539f75940d.tar.gz
bcm5719-llvm-e641cb4807d569a9ddf32e289a40df539f75940d.zip
[clang-tidy] Fix "Name is not a simple identifier" assertion in `modernize-loop-convert` check.
Summary: Fix assertion failure: "Name is not a simple identifier". `Decl::GetName` assumes the name should be an identifier. When the check processes the function calling statement with speciail key name like 'it.operator->()', it will trigger the assert in `GetName`. Rather than using `Decl::GetName`, we use `getNameAsString` which works with special key names in C++. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18141 llvm-svn: 263426
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud