[all-commits] [llvm/llvm-project] ba566f: [NFC][AST] Return void from setUseQualifiedLookup

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu May 11 17:13:38 PDT 2023


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

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/lib/Sema/SemaLookup.cpp

  Log Message:
  -----------
  [NFC][AST] Return void from setUseQualifiedLookup

It uses to initialize the class. If so, it returns uninitalized value.
This is UB and msan with -fno-inline will complain.




More information about the All-commits mailing list