diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-12-20 19:54:13 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-12-20 19:54:13 +0000 |
commit | 154120cde4f56ed04261bab302fdbbed1a7f080b (patch) | |
tree | 52ef97dca08e390c8bb4574e655d145146f7b502 /tools/libclang/CXComment.cpp | |
parent | bbf4d53343c2bbd082b7c1488f34650a7d07ae3b (diff) |
Add objective-C style formatting to clang format and
use it to format xml declaration tags.
// rdar://12378714
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CXComment.cpp')
-rw-r--r-- | tools/libclang/CXComment.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/libclang/CXComment.cpp b/tools/libclang/CXComment.cpp index caf6a857f0..754f79612b 100644 --- a/tools/libclang/CXComment.cpp +++ b/tools/libclang/CXComment.cpp @@ -917,12 +917,6 @@ void getSourceTextOfDeclaration(const DeclInfo *ThisDecl, void CommentASTToXMLConverter::formatTextOfDeclaration( const DeclInfo *DI, SmallString<128> &Declaration) { - // FIXME. This conditional is TEMPORARY. We don't want to break multiple - // large tests each time Format.cpp changes. This condition will - // go away and formatting will happen for all declarations. - if (!getenv("LIBCLANG_ACTIVATE_FORMAT")) - return; - // FIXME. formatting API expects null terminated input string. // There might be more efficient way of doing this. std::string StringDecl = Declaration.str(); |