diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-05-20 17:41:43 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-05-20 17:41:43 +0000 |
commit | 5b160927672440076aa53c31d84149f70fd8d40e (patch) | |
tree | 7f5ceb21be6d804c486410500c8f3110ffe1ac54 /lib/Frontend/PCHReaderDecl.cpp | |
parent | 918441255162c1a1c77c13752aaa1a3c43ac2ab9 (diff) |
implementation of format_arg for ObjC methods/functions.
Still more to do.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderDecl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp index 865dd97db6..870392b07b 100644 --- a/lib/Frontend/PCHReaderDecl.cpp +++ b/lib/Frontend/PCHReaderDecl.cpp @@ -454,6 +454,12 @@ Attr *PCHReader::ReadAttributes() { break; } + case Attr::FormatArg: { + unsigned FormatIdx = Record[Idx++]; + New = ::new (*Context) FormatArgAttr(FormatIdx); + break; + } + case Attr::Sentinel: { int sentinel = Record[Idx++]; int nullPos = Record[Idx++]; |