[all-commits] [llvm/llvm-project] ee71cb: [clang][Interp] Ignore more non-VarDecl declarations

Timm Bäder via All-commits all-commits at lists.llvm.org
Tue Apr 4 01:42:09 PDT 2023


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Ignore more non-VarDecl declarations

They are harmless and handled by other means, but we used to return
false from visitDeclStmt.

Differential Revision: https://reviews.llvm.org/D145861




More information about the All-commits mailing list