[all-commits] [llvm/llvm-project] f4a684: [clang][Interp] Reject invalid declarations and ex...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Jan 25 03:53:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4a6842c5a4d729bacfd0240b44fa726a28e6bfb
      https://github.com/llvm/llvm-project/commit/f4a6842c5a4d729bacfd0240b44fa726a28e6bfb
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

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

  Log Message:
  -----------
  [clang][Interp] Reject invalid declarations and expressions

Reject them early, since we will run into problems and/or assertions
later on anyway.

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




More information about the All-commits mailing list