[all-commits] [llvm/llvm-project] dac366: [Sema] LambdaScopeForCallOperatorInstantiationRAII...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 28 10:54:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dac366111e5560c117a06330efee14a2052d3a46
      https://github.com/llvm/llvm-project/commit/dac366111e5560c117a06330efee14a2052d3a46
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/Sema/SemaLambda.cpp

  Log Message:
  -----------
  [Sema] LambdaScopeForCallOperatorInstantiationRAII - fix typo in early out logic (#96888)

We should be checking for a failed dyn_cast on the ParentFD result - not the loop invariant FD root value.

Seems to have been introduced in #65193

Noticed by static analyser (I have no specific test case).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list