[all-commits] [llvm/llvm-project] f2ace9: Add `QualType::hasAddressSpace`. NFC.

darkbuck via All-commits all-commits at lists.llvm.org
Fri Dec 6 10:09:00 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f2ace9d6005b4ffc6f6fc068c1aac897d871df7a
      https://github.com/llvm/llvm-project/commit/f2ace9d6005b4ffc6f6fc068c1aac897d871df7a
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp

  Log Message:
  -----------
  Add `QualType::hasAddressSpace`. NFC.

- Add that as a shorthand of <T>.getQualifiers().hasAddressSpace().
- Simplify related code.




More information about the All-commits mailing list