[all-commits] [llvm/llvm-project] e5907c: [NFC] Fix hasQualifier comment (#90485)

Jorge Pinto Sousa via All-commits all-commits at lists.llvm.org
Mon Apr 29 13:15:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5907c88594133e45b8d1d4e29702b96d7f45c77
      https://github.com/llvm/llvm-project/commit/e5907c88594133e45b8d1d4e29702b96d7f45c77
  Author: Jorge Pinto Sousa <jorge.pinto.sousa at protonmail.ch>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

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

  Log Message:
  -----------
  [NFC] Fix hasQualifier comment (#90485)

operator bool from NestedNameSpecifierLoc and
member function hasQualifier both do the same thing, returning true if
the private data member Qualifier is not nullptr, so clearly one of the
comments is wrong, and in this case it is the second one.

fixes https://github.com/llvm/llvm-project/issues/90472



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