diff options
| author | Alp Toker <alp@nuanti.com> | 2014-01-25 23:51:36 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-01-25 23:51:36 +0000 |
| commit | 42a16a67f53da8b0eceabdc92a5f89d93a4d2c74 (patch) | |
| tree | 562f2357c7f10f8c19f0ee8c2ccdf2234b1f3f94 /clang/tools/libclang | |
| parent | 48a6daa70f7413dcc25dc11da8910af9849c1062 (diff) | |
| download | bcm5719-llvm-42a16a67f53da8b0eceabdc92a5f89d93a4d2c74.tar.gz bcm5719-llvm-42a16a67f53da8b0eceabdc92a5f89d93a4d2c74.zip | |
Rename getResultLoc() too
Follow up to r200082.
Spotted by Dmitri
llvm-svn: 200105
Diffstat (limited to 'clang/tools/libclang')
| -rw-r--r-- | clang/tools/libclang/CIndex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp index 407051de1cc..d1b02c4b654 100644 --- a/clang/tools/libclang/CIndex.cpp +++ b/clang/tools/libclang/CIndex.cpp @@ -769,7 +769,7 @@ bool CursorVisitor::VisitFunctionDecl(FunctionDecl *ND) { // If we have a function declared directly (without the use of a typedef), // visit just the return type. Otherwise, just visit the function's type // now. - if ((FTL && !isa<CXXConversionDecl>(ND) && Visit(FTL.getResultLoc())) || + if ((FTL && !isa<CXXConversionDecl>(ND) && Visit(FTL.getReturnLoc())) || (!FTL && Visit(TL))) return true; @@ -1517,7 +1517,7 @@ bool CursorVisitor::VisitAttributedTypeLoc(AttributedTypeLoc TL) { bool CursorVisitor::VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType) { - if (!SkipResultType && Visit(TL.getResultLoc())) + if (!SkipResultType && Visit(TL.getReturnLoc())) return true; for (unsigned I = 0, N = TL.getNumParams(); I != N; ++I) @@ -2442,7 +2442,7 @@ bool CursorVisitor::RunVisitorWorkList(VisitorWorkList &WL) { return true; } else { // Visit result type. - if (Visit(Proto.getResultLoc())) + if (Visit(Proto.getReturnLoc())) return true; } } |

