[PATCH] D24997: [ClangTidy] Add UsingInserter and NamespaceAliaser

Julian Bangert via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 18:29:44 PDT 2016


jbangert created this revision.
jbangert added a reviewer: alexfh.
jbangert added a subscriber: cfe-commits.
jbangert added a project: clang-tools-extra.

This adds helper classes to add using declaractions and namespace aliases to function bodies. These help making function calls to deeply nested functions concise (e.g. when calling helpers in a refactoring)

https://reviews.llvm.org/D24997

Files:
  clang-tidy/utils/ASTUtils.cpp
  clang-tidy/utils/ASTUtils.h
  clang-tidy/utils/NamespaceAliaser.cpp
  clang-tidy/utils/NamespaceAliaser.h
  clang-tidy/utils/UsingInserter.cpp
  clang-tidy/utils/UsingInserter.h
  unittests/clang-tidy/NamespaceAliaserTest.cpp
  unittests/clang-tidy/UsingInserterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24997.72751.patch
Type: text/x-patch
Size: 22542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160928/1dc2833f/attachment-0001.bin>


More information about the cfe-commits mailing list