[PATCH] D56509: [AST] Remove ASTContext from getThisType (NFC)

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 9 11:35:29 PST 2019


modocache created this revision.
modocache added reviewers: akyrtzi, mikael.
Herald added subscribers: dexonsmith, mehdi_amini.

https://reviews.llvm.org/D54862 removed the usages of `ASTContext&` from
within the `CXXMethodDecl::getThisType` method. Remove the parameter
altogether, as well as all usages of it. This does not result in any
functional change because the parameter was unused since
https://reviews.llvm.org/D54862.

Test Plan: check-clang


Repository:
  rC Clang

https://reviews.llvm.org/D56509

Files:
  include/clang/AST/DeclCXX.h
  lib/AST/DeclCXX.cpp
  lib/AST/ExprConstant.cpp
  lib/Analysis/Consumed.cpp
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGCXXABI.cpp
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/MicrosoftCXXABI.cpp
  lib/Sema/SemaCoroutine.cpp
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprCXX.cpp
  lib/Sema/SemaOverload.cpp
  lib/Sema/SemaTemplate.cpp
  lib/StaticAnalyzer/Core/LoopWidening.cpp
  lib/StaticAnalyzer/Core/MemRegion.cpp
  lib/StaticAnalyzer/Core/SValBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56509.180893.patch
Type: text/x-patch
Size: 17745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190109/d1b1c44e/attachment.bin>


More information about the cfe-commits mailing list