[all-commits] [llvm/llvm-project] b15a94: [clang][Interp][NFC] Refactor VisitDeclRefExpr

Timm Bäder via All-commits all-commits at lists.llvm.org
Mon Apr 3 07:42:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b15a946b9f59f91518ae5e2cb6125592d9c1bf3c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp

  Log Message:
  [clang][Interp][NFC] Refactor VisitDeclRefExpr

Make it clearer that we only need to check for variables and parameters
if we don't have the easy case. Also only do the IsReference check if

More information about the All-commits mailing list