diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-05 19:48:07 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-05 19:48:07 +0000 |
commit | 5a12bb82d507cc3906d21f9249725a78e4ef7bdf (patch) | |
tree | c7b864f5729c096e765fd3d0be83a75d84c0c91b /include/clang/Lex/Preprocessor.h | |
parent | 2dac4304325c4c502e86d95bd061baf9865b2f56 (diff) |
Move Preprocessor over to std::shared_ptr rather than IntrusiveRefCntPtr
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index c6c4c52be6..7ce1aad36d 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -94,7 +94,7 @@ enum MacroUse { /// Lexers know only about tokens within a single source file, and don't /// know anything about preprocessor-level issues like the \#include stack, /// token expansion, etc. -class Preprocessor : public RefCountedBase<Preprocessor> { +class Preprocessor { std::shared_ptr<PreprocessorOptions> PPOpts; DiagnosticsEngine *Diags; LangOptions &LangOpts; |