aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-02-23 22:00:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-02-23 22:00:30 +0000
commit11e8ce7380856abee188b237c2600272df2ed09d (patch)
tree189aaf5995f111e141000cdc9ebb8cea4de1ae63 /lib/Frontend/PCHReaderDecl.cpp
parent2a7eb28397148079cbc8e54e8a3871ef01c4f4bc (diff)
Add support for the weakref attribute. We still produce "alias weak" as llvm-gcc does, but are more strict on what uses of weakref we accept.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r--lib/Frontend/PCHReaderDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp
index 27349ecbfe..356bd0726e 100644
--- a/lib/Frontend/PCHReaderDecl.cpp
+++ b/lib/Frontend/PCHReaderDecl.cpp
@@ -586,6 +586,7 @@ Attr *PCHReader::ReadAttributes() {
SIMPLE_ATTR(WarnUnusedResult);
SIMPLE_ATTR(Weak);
+ SIMPLE_ATTR(WeakRef);
SIMPLE_ATTR(WeakImport);
}