[all-commits] [llvm/llvm-project] 131e87: Print nullptr_t namespace qualified within std::

David Blaikie via All-commits all-commits at lists.llvm.org
Tue Sep 21 11:22:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 131e8786640a49daf533b7ead4d3b5b82e0aea2a
      https://github.com/llvm/llvm-project/commit/131e8786640a49daf533b7ead4d3b5b82e0aea2a
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M clang/lib/AST/Type.cpp
    M clang/test/AST/ast-dump-recovery.cpp
    M clang/test/Analysis/plist-diagnostics-template-record.cpp
    M clang/test/CXX/drs/dr15xx.cpp
    M clang/test/CXX/drs/dr6xx.cpp
    M clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp
    M clang/test/CXX/temp/temp.param/p10-2a.cpp
    M clang/test/CodeGenCXX/debug-info-template.cpp
    M clang/test/OpenMP/task_affinity_messages.cpp
    M clang/test/OpenMP/task_depend_messages.cpp
    M clang/test/Sema/builtins-arm64-mte.c
    M clang/test/Sema/format-strings-pedantic.c
    M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
    M clang/test/SemaCXX/cxx2a-explicit-bool.cpp
    M clang/test/SemaCXX/nullability.cpp
    M clang/test/SemaCXX/nullptr.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/deduction.cpp
    M clang/test/SemaTemplate/friend.cpp
    M clang/test/SemaTemplate/instantiate-local-class.cpp

  Log Message:
  -----------
  Print nullptr_t namespace qualified within std::

This improves diagnostic (& important to me, DWARF) accuracy - otherwise
there could be ambiguities between "std::nullptr_t" and some user-defined
type that's /actually/ "nullptr_t" defined in the global namespace.

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




More information about the All-commits mailing list