[all-commits] [llvm/llvm-project] 3736ea: [include-cleaner] Handle StdInitializerListExprs

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Aug 1 02:05:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3736eaa6a0b8396e30978c768c02e43c821a8257
      https://github.com/llvm/llvm-project/commit/3736eaa6a0b8396e30978c768c02e43c821a8257
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
    M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp

  Log Message:
  -----------
  [include-cleaner] Handle StdInitializerListExprs

Per C++ standard, programs omitting the definition for initializer_list
is ill-formed, https://eel.is/c++draft/dcl.init.list#2.

Fixes https://github.com/llvm/llvm-project/issues/64198

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




More information about the All-commits mailing list