[all-commits] [llvm/llvm-project] 11fe93: [AST] Initialized AutoTypeLocInfo::FoundDecl

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu May 18 01:21:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11fe9310b9146ee7dfd7cf01662e8fc0a7cd508c
      https://github.com/llvm/llvm-project/commit/11fe9310b9146ee7dfd7cf01662e8fc0a7cd508c
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M clang/include/clang/AST/TypeLoc.h

  Log Message:
  -----------
  [AST] Initialized AutoTypeLocInfo::FoundDecl

Msan complains if getFoundDecl called before it's set.
This looks like data class, so I see no reason to keep
the single field uninitialized.




More information about the All-commits mailing list