diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-20 14:00:23 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-20 14:00:23 +0000 |
commit | c95d81924d89d92802697ee88e8d0db634869e74 (patch) | |
tree | ec229811227943ac53f73f440efcafca9838749e /clang/lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | 862fe49c55e279600d4e9b38d8011c197191f32b (diff) | |
download | bcm5719-llvm-c95d81924d89d92802697ee88e8d0db634869e74.tar.gz bcm5719-llvm-c95d81924d89d92802697ee88e8d0db634869e74.zip |
Basic: import IntrusiveRefCntPtr<> into clang namespace
The class name is long enough without the llvm:: added.
Also bring in RefCountedBase and RefCountedBaseVPTR.
llvm-svn: 150958
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index 642b6e394f1..0df71f21fb8 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -1550,10 +1550,10 @@ MakeReportGraph(const ExplodedGraph* G, /// CompactPathDiagnostic - This function postprocesses a PathDiagnostic object /// and collapses PathDiagosticPieces that are expanded by macros. static void CompactPathDiagnostic(PathDiagnostic &PD, const SourceManager& SM) { - typedef std::vector<std::pair<llvm::IntrusiveRefCntPtr<PathDiagnosticMacroPiece>, SourceLocation> > + typedef std::vector<std::pair<IntrusiveRefCntPtr<PathDiagnosticMacroPiece>, SourceLocation> > MacroStackTy; - typedef std::vector<llvm::IntrusiveRefCntPtr<PathDiagnosticPiece> > + typedef std::vector<IntrusiveRefCntPtr<PathDiagnosticPiece> > PiecesTy; MacroStackTy MacroStack; @@ -1585,7 +1585,7 @@ static void CompactPathDiagnostic(PathDiagnostic &PD, const SourceManager& SM) { // We aren't in the same group. Are we descending into a new macro // or are part of an old one? - llvm::IntrusiveRefCntPtr<PathDiagnosticMacroPiece> MacroGroup; + IntrusiveRefCntPtr<PathDiagnosticMacroPiece> MacroGroup; SourceLocation ParentInstantiationLoc = InstantiationLoc.isMacroID() ? SM.getExpansionLoc(Loc) : |