diff options
author | Mike Rice <michael.p.rice@intel.com> | 2019-07-17 15:18:45 +0000 |
---|---|---|
committer | Mike Rice <michael.p.rice@intel.com> | 2019-07-17 15:18:45 +0000 |
commit | 552c2c09d354a3ad9c1c9647e0a3bb5099c31088 (patch) | |
tree | acc4e9a4ecab2104b4e0894c6a2ea50218a6cb45 /lldb/packages/Python/lldbsuite/test/expression_command/context-object/main.cpp | |
parent | 11d3710c1cd25adf23a4690076e12d6ece267731 (diff) | |
download | bcm5719-llvm-552c2c09d354a3ad9c1c9647e0a3bb5099c31088.tar.gz bcm5719-llvm-552c2c09d354a3ad9c1c9647e0a3bb5099c31088.zip |
[OPENMP]Fix crash in LoopCounterRefChecker when MemberExpr is not Var or Field
checkDecl is only valid for VarDecls or FieldDecls, since getCanonicalDecl
expects only these. Prevent other Decl kinds (such as CXXMethodDecls and
EnumConstantDecls) from entering and asserting.
Differential Revision: https://reviews.llvm.org/D64842
llvm-svn: 366336
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object/main.cpp')
0 files changed, 0 insertions, 0 deletions