summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/LangOptions.h
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-06 05:26:07 +0000
committerAlp Toker <alp@nuanti.com>2014-07-06 05:26:07 +0000
commit3e84eb7db6c89f09a524d08ea6c03c0022decb64 (patch)
treec3c5a2783287ec3897c3a3c74e04935f36453924 /include/clang/Basic/LangOptions.h
parentf7445e6c6fad8f3525bdac0e37e8ce9e8ed67106 (diff)
Use non-intrusive refcounting for LangOptions
This type is only refcounted in a couple of places so making ownership explicit improves clarity. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/LangOptions.h')
-rw-r--r--include/clang/Basic/LangOptions.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/LangOptions.h b/include/clang/Basic/LangOptions.h
index e969161b8f..9bffc7cb18 100644
--- a/include/clang/Basic/LangOptions.h
+++ b/include/clang/Basic/LangOptions.h
@@ -19,7 +19,6 @@
#include "clang/Basic/LLVM.h"
#include "clang/Basic/ObjCRuntime.h"
#include "clang/Basic/Visibility.h"
-#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include <string>
namespace clang {
@@ -53,7 +52,7 @@ protected:
/// \brief Keeps track of the various options that can be
/// enabled, which controls the dialect of C or C++ that is accepted.
-class LangOptions : public RefCountedBase<LangOptions>, public LangOptionsBase {
+class LangOptions : public LangOptionsBase {
public:
typedef clang::Visibility Visibility;