diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-18 04:13:32 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-18 04:13:32 +0000 |
commit | d5b08bee799d4f77f1a25fa5977ca77b983ab031 (patch) | |
tree | 426542f5871a92a87a6c0723bf9a46cb46b02f8d /lib/Checker/AnalysisConsumer.cpp | |
parent | 2b364a43f50efd3d82177c29a79e66895ab335ad (diff) |
Replace all uses of PathV1::get{Basename,Dirname,Suffix} with their PathV2 equivalents.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/AnalysisConsumer.cpp')
-rw-r--r-- | lib/Checker/AnalysisConsumer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/AnalysisConsumer.cpp b/lib/Checker/AnalysisConsumer.cpp index 52dd068034..52066f14aa 100644 --- a/lib/Checker/AnalysisConsumer.cpp +++ b/lib/Checker/AnalysisConsumer.cpp @@ -50,8 +50,8 @@ static ExplodedNode::Auditor* CreateUbiViz(); static PathDiagnosticClient* createPlistHTMLDiagnosticClient(const std::string& prefix, const Preprocessor &PP) { - llvm::sys::Path F(prefix); - PathDiagnosticClient *PD = createHTMLDiagnosticClient(F.getDirname(), PP); + PathDiagnosticClient *PD = + createHTMLDiagnosticClient(llvm::sys::path::parent_path(prefix), PP); return createPlistDiagnosticClient(prefix, PP, PD); } |