[PATCH] D77701: [Sema] refactor static functions into private methods NFC

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 19:04:59 PDT 2020


nickdesaulniers created this revision.
nickdesaulniers added reviewers: aaron.ballman, dblaikie.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

While working in SemaStmt, I noticed a bunch of static functions are
passed *this, which is a code smell. Prefer private methods.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77701

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaStmt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77701.255873.patch
Type: text/x-patch
Size: 36663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200408/1ac2fe44/attachment-0001.bin>


More information about the cfe-commits mailing list