summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DumpXML.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-01 19:29:29 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-01 19:29:29 +0000
commite6e48b1490fe79ca8d44718e48f8644a28efa097 (patch)
tree5a6249e5bdcfbd786cbf68de755aca1c133a7e92 /clang/lib/AST/DumpXML.cpp
parent01fb1135d66125f02111f04273684d25d73d2645 (diff)
downloadbcm5719-llvm-e6e48b1490fe79ca8d44718e48f8644a28efa097.tar.gz
bcm5719-llvm-e6e48b1490fe79ca8d44718e48f8644a28efa097.zip
Move the data that corresponds to the definition of a protocol into a
separately-allocated DefinitionData structure. Introduce various functions that will help with the separation of declarations from definitions (isThisDeclarationADefinition(), hasDefinition(), getDefinition()). llvm-svn: 147408
Diffstat (limited to 'clang/lib/AST/DumpXML.cpp')
-rw-r--r--clang/lib/AST/DumpXML.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/AST/DumpXML.cpp b/clang/lib/AST/DumpXML.cpp
index 959bbcbb174..561fb8f372d 100644
--- a/clang/lib/AST/DumpXML.cpp
+++ b/clang/lib/AST/DumpXML.cpp
@@ -819,7 +819,6 @@ struct XMLDumper : public XMLDeclVisitor<XMLDumper>,
// ObjCProtocolDecl
void visitObjCProtocolDeclAttrs(ObjCProtocolDecl *D) {
- setFlag("forward_decl", D->isForwardDecl());
}
void visitObjCProtocolDeclChildren(ObjCProtocolDecl *D) {
if (D->protocol_begin() != D->protocol_end()) {
OpenPOWER on IntegriCloud