Index: clang-doc/BitcodeWriter.cpp
===================================================================
--- clang-doc/BitcodeWriter.cpp
+++ clang-doc/BitcodeWriter.cpp
@@ -309,10 +309,8 @@
// FIXME: Assert that the line number is of the appropriate size.
Record.push_back(Loc.LineNumber);
assert(Loc.Filename.size() < (1U << BitCodeConstants::StringLengthSize));
- // Record.push_back(Loc.Filename.size());
- // Stream.EmitRecordWithBlob(Abbrevs.get(ID), Record, Loc.Filename);
- Record.push_back(4);
- Stream.EmitRecordWithBlob(Abbrevs.get(ID), Record, "test");
+ Record.push_back(Loc.Filename.size());
+ Stream.EmitRecordWithBlob(Abbrevs.get(ID), Record, Loc.Filename);
}
void ClangDocBitcodeWriter::emitRecord(bool Val, RecordId ID) {
Index: test/clang-doc/bc-comment.cpp
===================================================================
--- test/clang-doc/bc-comment.cpp
+++ test/clang-doc/bc-comment.cpp
@@ -32,169 +32,169 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/0000000000000000000000000000000000000000.bc | FileCheck %s --check-prefix CHECK-0
// CHECK-0:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'F'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'FullComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'BlockCommandComment'
// CHECK-0-NEXT: blob data = 'brief'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' Brief description.'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' Extended description that'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' continues onto the next line.'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'HTMLStartTagComment'
// CHECK-0-NEXT: blob data = 'ul'
// CHECK-0-NEXT: blob data = 'class'
-// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT: blob data = 'test'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'HTMLStartTagComment'
// CHECK-0-NEXT: blob data = 'li'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' Testing.'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'HTMLEndTagComment'
// CHECK-0-NEXT: blob data = 'ul'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'VerbatimBlockComment'
// CHECK-0-NEXT: blob data = 'verbatim'
// CHECK-0-NEXT: blob data = 'endverbatim'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'VerbatimBlockLineComment'
// CHECK-0-NEXT: blob data = ' The description continues.'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' --'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParamCommandComment'
// CHECK-0-NEXT: blob data = '[out]'
// CHECK-0-NEXT: blob data = 'I'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' is a parameter.'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParamCommandComment'
// CHECK-0-NEXT: blob data = '[in]'
// CHECK-0-NEXT: blob data = 'J'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' is a parameter.'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'BlockCommandComment'
// CHECK-0-NEXT: blob data = 'return'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' void'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'FullComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'ParagraphComment'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'TextComment'
// CHECK-0-NEXT: blob data = ' Bonus comment on definition'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'void'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'I'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
Index: test/clang-doc/bc-linkage.cpp
===================================================================
--- test/clang-doc/bc-linkage.cpp
+++ test/clang-doc/bc-linkage.cpp
@@ -99,58 +99,58 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/8960B5C9247D6F5C532756E53A1AD1240FA2146F.bc | FileCheck %s --check-prefix CHECK-0
// CHECK-0:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'named'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'namedFunction'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'named'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'void'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'namedStaticFunction'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'named'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'void'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'namedInlineFunction'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'named'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'void'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
@@ -160,105 +160,105 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/7CDD73DCD6CD72F7E5CE25502810A182C66C4B45.bc | FileCheck %s --check-prefix CHECK-1
// CHECK-1:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
-// CHECK-1-NEXT: blob data = '{{.*}}'
+// CHECK-1-NEXT: blob data = '{{.*}}'
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'int'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'publicField'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'int'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'protectedField'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'int'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'privateField'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'publicMethod'
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT: blob data = '{{.*}}'
-// CHECK-1-NEXT:
+// CHECK-1-NEXT: blob data = '{{.*}}'
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'void'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'protectedMethod'
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT: blob data = '{{.*}}'
-// CHECK-1-NEXT:
+// CHECK-1-NEXT: blob data = '{{.*}}'
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'void'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'privateMethod'
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT: blob data = '{{.*}}'
-// CHECK-1-NEXT:
+// CHECK-1-NEXT: blob data = '{{.*}}'
+// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'Class'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
// CHECK-1-NEXT:
-// CHECK-1-NEXT:
-// CHECK-1-NEXT:
+// CHECK-1-NEXT:
+// CHECK-1-NEXT:
// CHECK-1-NEXT: blob data = 'void'
// CHECK-1-NEXT:
// CHECK-1-NEXT:
@@ -268,112 +268,112 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/0000000000000000000000000000000000000000.bc | FileCheck %s --check-prefix CHECK-2
// CHECK-2:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'function'
-// CHECK-2-NEXT: blob data = '{{.*}}'
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT: blob data = '{{.*}}'
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'void'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'x'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'inlinedFunction'
-// CHECK-2-NEXT: blob data = '{{.*}}'
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT: blob data = '{{.*}}'
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'x'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'functionWithInnerClass'
-// CHECK-2-NEXT: blob data = '{{.*}}'
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT: blob data = '{{.*}}'
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'x'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'inlinedFunctionWithInnerClass'
-// CHECK-2-NEXT: blob data = '{{.*}}'
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT: blob data = '{{.*}}'
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'x'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'staticFunction'
-// CHECK-2-NEXT: blob data = '{{.*}}'
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT: blob data = '{{.*}}'
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'void'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'x'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'staticFunctionWithInnerClass'
-// CHECK-2-NEXT: blob data = '{{.*}}'
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT: blob data = '{{.*}}'
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
// CHECK-2-NEXT:
-// CHECK-2-NEXT:
-// CHECK-2-NEXT:
+// CHECK-2-NEXT:
+// CHECK-2-NEXT:
// CHECK-2-NEXT: blob data = 'int'
// CHECK-2-NEXT:
// CHECK-2-NEXT:
@@ -384,129 +384,129 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/4712C5FA37B298A25501D1033C619B65B0ECC449.bc | FileCheck %s --check-prefix CHECK-3
// CHECK-3:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'named'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT: blob data = '{{.*}}'
+// CHECK-3-NEXT: blob data = '{{.*}}'
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'int'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'namedPublicField'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'int'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'namedProtectedField'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'int'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'namedPrivateField'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'namedPublicMethod'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'named'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT: blob data = '{{.*}}'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT: blob data = '{{.*}}'
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'void'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'namedProtectedMethod'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'named'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT: blob data = '{{.*}}'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT: blob data = '{{.*}}'
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'void'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'namedPrivateMethod'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'named'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT: blob data = '{{.*}}'
-// CHECK-3-NEXT:
+// CHECK-3-NEXT: blob data = '{{.*}}'
+// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'NamedClass'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
// CHECK-3-NEXT:
-// CHECK-3-NEXT:
-// CHECK-3-NEXT:
+// CHECK-3-NEXT:
+// CHECK-3-NEXT:
// CHECK-3-NEXT: blob data = 'void'
// CHECK-3-NEXT:
// CHECK-3-NEXT:
@@ -516,125 +516,125 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/6E8FB72A89761E77020BFCEE9A9A6E64B15CC2A9.bc | FileCheck %s --check-prefix CHECK-4
// CHECK-4:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT: blob data = '{{.*}}'
+// CHECK-4-NEXT: blob data = '{{.*}}'
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'int'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'anonPublicField'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'int'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'anonProtectedField'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'int'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'anonPrivateField'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'anonPublicMethod'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT: blob data = '{{.*}}'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT: blob data = '{{.*}}'
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'void'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'anonProtectedMethod'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT: blob data = '{{.*}}'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT: blob data = '{{.*}}'
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'void'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'anonPrivateMethod'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT: blob data = '{{.*}}'
-// CHECK-4-NEXT:
+// CHECK-4-NEXT: blob data = '{{.*}}'
+// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'AnonClass'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
// CHECK-4-NEXT:
-// CHECK-4-NEXT:
-// CHECK-4-NEXT:
+// CHECK-4-NEXT:
+// CHECK-4-NEXT:
// CHECK-4-NEXT: blob data = 'void'
// CHECK-4-NEXT:
// CHECK-4-NEXT:
@@ -644,54 +644,54 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/83CC52D32583E0771710A7742DE81C839E953AC8.bc | FileCheck %s --check-prefix CHECK-5
// CHECK-5:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT: blob data = 'anonFunction'
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT: blob data = '{{.*}}'
-// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT: blob data = '{{.*}}'
+// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT: blob data = 'void'
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT: blob data = 'anonStaticFunction'
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT: blob data = '{{.*}}'
-// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT: blob data = '{{.*}}'
+// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT: blob data = 'void'
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT: blob data = 'anonInlineFunction'
-// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
// CHECK-5-NEXT:
-// CHECK-5-NEXT: blob data = '{{.*}}'
-// CHECK-5-NEXT:
-// CHECK-5-NEXT:
+// CHECK-5-NEXT: blob data = '{{.*}}'
+// CHECK-5-NEXT:
+// CHECK-5-NEXT:
// CHECK-5-NEXT: blob data = 'void'
// CHECK-5-NEXT:
// CHECK-5-NEXT:
Index: test/clang-doc/bc-module.cpp
===================================================================
--- test/clang-doc/bc-module.cpp
+++ test/clang-doc/bc-module.cpp
@@ -19,65 +19,65 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/0000000000000000000000000000000000000000.bc | FileCheck %s --check-prefix CHECK-0
// CHECK-0:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'moduleFunction'
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'x'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'staticModuleFunction'
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'x'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'exportedModuleFunction'
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'double'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'double'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'y'
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'int'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
Index: test/clang-doc/bc-namespace.cpp
===================================================================
--- test/clang-doc/bc-namespace.cpp
+++ test/clang-doc/bc-namespace.cpp
@@ -30,25 +30,25 @@
// RUN: llvm-bcanalyzer --dump %t/docs/bc/8D042EFFC98B373450BC6B5B90A330C25A150E9C.bc | FileCheck %s --check-prefix CHECK-0
// CHECK-0:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'A'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'f'
-// CHECK-0-NEXT:
+// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT: blob data = 'A'
// CHECK-0-NEXT:
// CHECK-0-NEXT:
// CHECK-0-NEXT:
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT: blob data = '{{.*}}'
-// CHECK-0-NEXT:
-// CHECK-0-NEXT:
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT: blob data = '{{.*}}'
+// CHECK-0-NEXT:
+// CHECK-0-NEXT: