diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-08-12 11:48:05 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-08-12 11:48:05 +0000 |
| commit | 6a4c5dc29eb95561e34333ed1fbe826347a464ba (patch) | |
| tree | 51325051c99c56f11f897d534411717506f74624 /lib/CodeGen/CodeGenModule.h | |
| parent | 2530fd5a235c1e57f8ebef2eae9b365042501009 (diff) | |
| download | clang-6a4c5dc29eb95561e34333ed1fbe826347a464ba.tar.gz clang-6a4c5dc29eb95561e34333ed1fbe826347a464ba.tar.bz2 clang-6a4c5dc29eb95561e34333ed1fbe826347a464ba.tar.xz | |
Use new llvm::SpecialCaseList API in CodeGenModule
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 8e2739e3f9..516bedfea6 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -412,7 +412,7 @@ class CodeGenModule : public CodeGenTypeCache { GlobalDecl initializedGlobalDecl; - llvm::SpecialCaseList SanitizerBlacklist; + llvm::OwningPtr<llvm::SpecialCaseList> SanitizerBlacklist; const SanitizerOptions &SanOpts; @@ -972,7 +972,7 @@ public: void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV); const llvm::SpecialCaseList &getSanitizerBlacklist() const { - return SanitizerBlacklist; + return *SanitizerBlacklist; } const SanitizerOptions &getSanOpts() const { return SanOpts; } |
