================
@@ -101,14 +101,20 @@ void ContainerDataPointerCheck::check(const 
MatchFinder::MatchResult &Result) {
   else if (ACE)
     CE = ACE;
 
-  SourceRange SrcRange = CE->getSourceRange();
+  const Expr *PrintedCE = CE->IgnoreParenImpCasts();
+
+  SourceRange SrcRange = PrintedCE->getSourceRange();
----------------
EugeneZelenko wrote:

```suggestion
  const SourceRange SrcRange = PrintedCE->getSourceRange();
```

https://github.com/llvm/llvm-project/pull/165636
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to