summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp b/clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
index efc08fdc21a..449bb5abf46 100644
--- a/clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
+++ b/clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
@@ -246,100 +246,100 @@ TEST(YAMLGeneratorTest, emitCommentYAML) {
CommentInfo Top;
Top.Kind = "FullComment";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *BlankLine = Top.Children.back().get();
BlankLine->Kind = "ParagraphComment";
- BlankLine->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ BlankLine->Children.emplace_back(std::make_unique<CommentInfo>());
BlankLine->Children.back()->Kind = "TextComment";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *Brief = Top.Children.back().get();
Brief->Kind = "ParagraphComment";
- Brief->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Brief->Children.emplace_back(std::make_unique<CommentInfo>());
Brief->Children.back()->Kind = "TextComment";
Brief->Children.back()->Name = "ParagraphComment";
Brief->Children.back()->Text = " Brief description.";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *Extended = Top.Children.back().get();
Extended->Kind = "ParagraphComment";
- Extended->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Extended->Children.emplace_back(std::make_unique<CommentInfo>());
Extended->Children.back()->Kind = "TextComment";
Extended->Children.back()->Text = " Extended description that";
- Extended->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Extended->Children.emplace_back(std::make_unique<CommentInfo>());
Extended->Children.back()->Kind = "TextComment";
Extended->Children.back()->Text = " continues onto the next line.";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *HTML = Top.Children.back().get();
HTML->Kind = "ParagraphComment";
- HTML->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ HTML->Children.emplace_back(std::make_unique<CommentInfo>());
HTML->Children.back()->Kind = "TextComment";
- HTML->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ HTML->Children.emplace_back(std::make_unique<CommentInfo>());
HTML->Children.back()->Kind = "HTMLStartTagComment";
HTML->Children.back()->Name = "ul";
HTML->Children.back()->AttrKeys.emplace_back("class");
HTML->Children.back()->AttrValues.emplace_back("test");
- HTML->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ HTML->Children.emplace_back(std::make_unique<CommentInfo>());
HTML->Children.back()->Kind = "HTMLStartTagComment";
HTML->Children.back()->Name = "li";
- HTML->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ HTML->Children.emplace_back(std::make_unique<CommentInfo>());
HTML->Children.back()->Kind = "TextComment";
HTML->Children.back()->Text = " Testing.";
- HTML->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ HTML->Children.emplace_back(std::make_unique<CommentInfo>());
HTML->Children.back()->Kind = "HTMLEndTagComment";
HTML->Children.back()->Name = "ul";
HTML->Children.back()->SelfClosing = true;
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *Verbatim = Top.Children.back().get();
Verbatim->Kind = "VerbatimBlockComment";
Verbatim->Name = "verbatim";
Verbatim->CloseName = "endverbatim";
- Verbatim->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Verbatim->Children.emplace_back(std::make_unique<CommentInfo>());
Verbatim->Children.back()->Kind = "VerbatimBlockLineComment";
Verbatim->Children.back()->Text = " The description continues.";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *ParamOut = Top.Children.back().get();
ParamOut->Kind = "ParamCommandComment";
ParamOut->Direction = "[out]";
ParamOut->ParamName = "I";
ParamOut->Explicit = true;
- ParamOut->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ ParamOut->Children.emplace_back(std::make_unique<CommentInfo>());
ParamOut->Children.back()->Kind = "ParagraphComment";
ParamOut->Children.back()->Children.emplace_back(
- llvm::make_unique<CommentInfo>());
+ std::make_unique<CommentInfo>());
ParamOut->Children.back()->Children.back()->Kind = "TextComment";
ParamOut->Children.back()->Children.emplace_back(
- llvm::make_unique<CommentInfo>());
+ std::make_unique<CommentInfo>());
ParamOut->Children.back()->Children.back()->Kind = "TextComment";
ParamOut->Children.back()->Children.back()->Text = " is a parameter.";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *ParamIn = Top.Children.back().get();
ParamIn->Kind = "ParamCommandComment";
ParamIn->Direction = "[in]";
ParamIn->ParamName = "J";
- ParamIn->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ ParamIn->Children.emplace_back(std::make_unique<CommentInfo>());
ParamIn->Children.back()->Kind = "ParagraphComment";
ParamIn->Children.back()->Children.emplace_back(
- llvm::make_unique<CommentInfo>());
+ std::make_unique<CommentInfo>());
ParamIn->Children.back()->Children.back()->Kind = "TextComment";
ParamIn->Children.back()->Children.back()->Text = " is a parameter.";
ParamIn->Children.back()->Children.emplace_back(
- llvm::make_unique<CommentInfo>());
+ std::make_unique<CommentInfo>());
ParamIn->Children.back()->Children.back()->Kind = "TextComment";
- Top.Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Top.Children.emplace_back(std::make_unique<CommentInfo>());
CommentInfo *Return = Top.Children.back().get();
Return->Kind = "BlockCommandComment";
Return->Name = "return";
Return->Explicit = true;
- Return->Children.emplace_back(llvm::make_unique<CommentInfo>());
+ Return->Children.emplace_back(std::make_unique<CommentInfo>());
Return->Children.back()->Kind = "ParagraphComment";
Return->Children.back()->Children.emplace_back(
- llvm::make_unique<CommentInfo>());
+ std::make_unique<CommentInfo>());
Return->Children.back()->Children.back()->Kind = "TextComment";
Return->Children.back()->Children.back()->Text = "void";
OpenPOWER on IntegriCloud