summaryrefslogtreecommitdiff
path: root/lib/Index
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-05 03:08:06 +0000
committerAlp Toker <alp@nuanti.com>2014-07-05 03:08:06 +0000
commitc556f81241cf74850840c2e0df7a8f213674074d (patch)
tree0a4573f459b6ebdec3014abc81af10d4ff6b4fc5 /lib/Index
parenta6f7638b4b07b4f86657dd171718e8b0c8e719b7 (diff)
downloadclang-c556f81241cf74850840c2e0df7a8f213674074d.tar.gz
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index')
-rw-r--r--lib/Index/SimpleFormatContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Index/SimpleFormatContext.h b/lib/Index/SimpleFormatContext.h
index de1665f3b6..a460863f80 100644
--- a/lib/Index/SimpleFormatContext.h
+++ b/lib/Index/SimpleFormatContext.h
@@ -37,7 +37,7 @@ public:
SimpleFormatContext(LangOptions Options)
: DiagOpts(new DiagnosticOptions()),
Diagnostics(new DiagnosticsEngine(new DiagnosticIDs,
- DiagOpts.getPtr())),
+ DiagOpts.get())),
Files((FileSystemOptions())),
Sources(*Diagnostics, Files),
Rewrite(Sources, Options) {