summaryrefslogtreecommitdiffstats
path: root/clang/examples/wpa/clang-wpa.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-20 14:00:23 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-20 14:00:23 +0000
commitc95d81924d89d92802697ee88e8d0db634869e74 (patch)
treeec229811227943ac53f73f440efcafca9838749e /clang/examples/wpa/clang-wpa.cpp
parent862fe49c55e279600d4e9b38d8011c197191f32b (diff)
downloadbcm5719-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/examples/wpa/clang-wpa.cpp')
-rw-r--r--clang/examples/wpa/clang-wpa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/wpa/clang-wpa.cpp b/clang/examples/wpa/clang-wpa.cpp
index 869c540dead..b1119e14b79 100644
--- a/clang/examples/wpa/clang-wpa.cpp
+++ b/clang/examples/wpa/clang-wpa.cpp
@@ -90,7 +90,7 @@ int main(int argc, char **argv) {
return 0;
DiagnosticOptions DiagOpts;
- llvm::IntrusiveRefCntPtr<Diagnostic> Diags
+ IntrusiveRefCntPtr<Diagnostic> Diags
= CompilerInstance::createDiagnostics(DiagOpts, argc, argv);
for (unsigned i = 0, e = InputFilenames.size(); i != e; ++i) {
const std::string &InFile = InputFilenames[i];
OpenPOWER on IntegriCloud