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/PCHWriter.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/PCHWriter.cpp')
-rw-r--r-- | lib/Frontend/PCHWriter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp index 883825418e..5edf03c6ff 100644 --- a/lib/Frontend/PCHWriter.cpp +++ b/lib/Frontend/PCHWriter.cpp @@ -1558,6 +1558,12 @@ void PCHWriter::WriteAttributeRecord(const Attr *Attr) { break; } + case Attr::FormatArg: { + const FormatArgAttr *Format = cast<FormatArgAttr>(Attr); + Record.push_back(Format->getFormatIdx()); + break; + } + case Attr::Sentinel : { const SentinelAttr *Sentinel = cast<SentinelAttr>(Attr); Record.push_back(Sentinel->getSentinel()); |