[clang-tools-extra] r280063 - clang-rename: fix formatting in USRFinder

Miklos Vajna via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 00:24:57 PDT 2016


Author: vmiklos
Date: Tue Aug 30 02:24:57 2016
New Revision: 280063

URL: http://llvm.org/viewvc/llvm-project?rev=280063&view=rev
Log:
clang-rename: fix formatting in USRFinder

As detected by clang-format.

Modified:
    clang-tools-extra/trunk/clang-rename/USRFinder.cpp

Modified: clang-tools-extra/trunk/clang-rename/USRFinder.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-rename/USRFinder.cpp?rev=280063&r1=280062&r2=280063&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-rename/USRFinder.cpp (original)
+++ clang-tools-extra/trunk/clang-rename/USRFinder.cpp Tue Aug 30 02:24:57 2016
@@ -76,8 +76,7 @@ public:
   bool VisitTypeLoc(const TypeLoc Loc) {
     const SourceLocation TypeBeginLoc = Loc.getBeginLoc();
     const SourceLocation TypeEndLoc = Lexer::getLocForEndOfToken(
-                             TypeBeginLoc, 0, Context.getSourceManager(),
-                             Context.getLangOpts());
+        TypeBeginLoc, 0, Context.getSourceManager(), Context.getLangOpts());
     if (const auto *TemplateTypeParm =
             dyn_cast<TemplateTypeParmType>(Loc.getType())) {
       return setResult(TemplateTypeParm->getDecl(), TypeBeginLoc, TypeEndLoc);




More information about the cfe-commits mailing list