[all-commits] [llvm/llvm-project] e3e879: [AST] ASTContext::mergeTypes - pull out repeated g...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 6 08:05:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3e8799bebd0e624de21b9e93e358b9396bf4ace
      https://github.com/llvm/llvm-project/commit/e3e8799bebd0e624de21b9e93e358b9396bf4ace
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp

  Log Message:
  -----------
  [AST] ASTContext::mergeTypes - pull out repeated getAs<> calls. NFC.

Avoids static-analyzer null dereference warnings.




More information about the All-commits mailing list