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 | f1c25029b4c60d5930330aceb08a9219277d0267 (patch) | |
tree | b0ac93b18eba25a65d403b7f3ee8ff7af06dad67 /clang/lib/Frontend/PCHWriter.cpp | |
parent | dd0e23610af9947026e72193540767fb976569fd (diff) | |
download | bcm5719-llvm-f1c25029b4c60d5930330aceb08a9219277d0267.tar.gz bcm5719-llvm-f1c25029b4c60d5930330aceb08a9219277d0267.zip |
implementation of format_arg for ObjC methods/functions.
Still more to do.
llvm-svn: 72173
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 883825418e7..5edf03c6ff1 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/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()); |