[clang-tools-extra] r200084 - Track clang changes from r200082

Alp Toker alp at nuanti.com
Sat Jan 25 08:57:03 PST 2014


Author: alp
Date: Sat Jan 25 10:57:03 2014
New Revision: 200084

URL: http://llvm.org/viewvc/llvm-project?rev=200084&view=rev
Log:
Track clang changes from r200082

Modified:
    clang-tools-extra/trunk/clang-modernize/LoopConvert/LoopActions.cpp

Modified: clang-tools-extra/trunk/clang-modernize/LoopConvert/LoopActions.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-modernize/LoopConvert/LoopActions.cpp?rev=200084&r1=200083&r2=200084&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-modernize/LoopConvert/LoopActions.cpp (original)
+++ clang-tools-extra/trunk/clang-modernize/LoopConvert/LoopActions.cpp Sat Jan 25 10:57:03 2014
@@ -1074,7 +1074,7 @@ void LoopFixer::run(const MatchFinder::M
         Nodes.getNodeAs<CXXMemberCallExpr>(BeginCallName);
     assert(BeginCall != 0 && "Bad Callback. No begin call expression.");
     QualType CanonicalBeginType =
-        BeginCall->getMethodDecl()->getResultType().getCanonicalType();
+        BeginCall->getMethodDecl()->getReturnType().getCanonicalType();
 
     if (CanonicalBeginType->isPointerType() &&
         CanonicalInitVarType->isPointerType()) {





More information about the cfe-commits mailing list