aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-25 23:31:18 +0000
committerOwen Anderson <resistor@mac.com>2009-06-25 23:31:18 +0000
commit438d3946afc9ba502d56269d1a1d2c18d38d7e23 (patch)
treef60b9da38d11a41af6bed85f3ba03b511baeb819 /include/llvm/System
parent7e026b74dd1fdaa81a147488423571c59079d9bb (diff)
downloadexternal_llvm-438d3946afc9ba502d56269d1a1d2c18d38d7e23.zip
external_llvm-438d3946afc9ba502d56269d1a1d2c18d38d7e23.tar.gz
external_llvm-438d3946afc9ba502d56269d1a1d2c18d38d7e23.tar.bz2
Add support for const thread locals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System')
-rw-r--r--include/llvm/System/ThreadLocal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/System/ThreadLocal.h b/include/llvm/System/ThreadLocal.h
index 7627be2..39b1e64 100644
--- a/include/llvm/System/ThreadLocal.h
+++ b/include/llvm/System/ThreadLocal.h
@@ -24,8 +24,8 @@ namespace llvm {
public:
ThreadLocalImpl();
virtual ~ThreadLocalImpl();
- void setInstance(void* d);
- void* getInstance();
+ void setInstance(const void* d);
+ const void* getInstance();
};
template<class T>