[PATCH] D147743: [Clang][NFC] Rename methods/vars to reflect their real usage

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 14:36:21 PDT 2023


void created this revision.
void added reviewers: rsmith, rjmccall, aaron.ballman, dblaikie.
Herald added a subscriber: arphaman.
Herald added a project: All.
void requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The "getField" method is a bit confusing considering we also have a
"getFieldName" method. Instead, use "getFieldDecl" rather than
"getField".


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147743

Files:
  clang/include/clang/AST/Expr.h
  clang/include/clang/Sema/Designator.h
  clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
  clang/lib/AST/Expr.cpp
  clang/lib/Index/IndexBody.cpp
  clang/lib/Sema/SemaCodeComplete.cpp
  clang/lib/Sema/SemaInit.cpp
  clang/lib/Sema/TreeTransform.h
  clang/lib/Serialization/ASTReaderStmt.cpp
  clang/lib/Serialization/ASTWriterStmt.cpp
  clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  clang/tools/libclang/CIndex.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147743.511531.patch
Type: text/x-patch
Size: 14627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230406/f7eb468c/attachment-0001.bin>


More information about the cfe-commits mailing list