diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-04-29 21:31:59 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-04-29 21:31:59 +0000 |
commit | 298862dbcc0313766c8d2e25f836b62efcc75c51 (patch) | |
tree | 0f2609400bbdaa128340d0bfe5728e180becccc1 /lib/Analysis/CFRefCount.cpp | |
parent | 306a6aa6a2017d91e2f5ec1b1fc39cc006c60958 (diff) |
Reformat long line. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 77b23327e0..315bdcf689 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -2427,9 +2427,8 @@ CFRefLeakReport::getEndPath(BugReporter& br, const ExplodedNode<GRState>* EndN){ } if (!L.isValid()) { - L = PathDiagnosticLocation( - BR.getStateManager().getCodeDecl().getBodyRBrace(BR.getContext()), - SMgr); + const Decl &D = BR.getStateManager().getCodeDecl(); + L = PathDiagnosticLocation(D.getBodyRBrace(BR.getContext()), SMgr); } std::string sbuf; |