[all-commits] [llvm/llvm-project] 6434dc: [Clang][Interp] Fix the location of uninitialized ...

yronglin via All-commits all-commits at lists.llvm.org
Wed Jul 31 02:23:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6434dce85df21aabd5669dd9fbe8fa582e40c6ee
      https://github.com/llvm/llvm-project/commit/6434dce85df21aabd5669dd9fbe8fa582e40c6ee
  Author: yronglin <yronglin777 at gmail.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/EvaluationResult.cpp
    M clang/test/AST/Interp/constexpr-subobj-initialization.cpp
    M clang/test/C/C23/n3018.c
    M clang/test/CodeGen/pr3518.c
    M clang/test/Preprocessor/embed_weird.cpp
    M clang/test/SemaCXX/constexpr-subobj-initialization.cpp

  Log Message:
  -----------
  [Clang][Interp] Fix the location of uninitialized base warning (#100761)

Fix the location of `diag::note_constexpr_uninitialized_base`, make it
same as current interpreter.
This PR does not print type name with namespacethat was used to improve
the current interpreter's type dump of base class type.

---------

Signed-off-by: yronglin <yronglin777 at gmail.com>



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