summaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-doc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-07-15 20:03:13 -0700
committerKazu Hirata <kazu@google.com>2022-07-15 20:03:13 -0700
commit5cff5142a894a184d5eef05339e1a5b41fb4c144 (patch)
tree1c2122c14f7f9c7dc33b866dd8eeba2470fff9f3 /clang-tools-extra/clang-doc
parent3b0dce5b8b1596c50360952a8fb031d52562ccf6 (diff)
downloadllvm-5cff5142a894a184d5eef05339e1a5b41fb4c144.tar.gz
Use value instead of getValue (NFC)
Diffstat (limited to 'clang-tools-extra/clang-doc')
-rw-r--r--clang-tools-extra/clang-doc/HTMLGenerator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang-tools-extra/clang-doc/HTMLGenerator.cpp b/clang-tools-extra/clang-doc/HTMLGenerator.cpp
index 3e5a5331b790..7456d96941de 100644
--- a/clang-tools-extra/clang-doc/HTMLGenerator.cpp
+++ b/clang-tools-extra/clang-doc/HTMLGenerator.cpp
@@ -653,10 +653,10 @@ genHTML(const EnumInfo &I, const ClangDocContext &CDCtx) {
if (I.DefLoc) {
if (!CDCtx.RepositoryUrl)
- Out.emplace_back(writeFileDefinition(I.DefLoc.getValue()));
+ Out.emplace_back(writeFileDefinition(I.DefLoc.value()));
else
Out.emplace_back(writeFileDefinition(
- I.DefLoc.getValue(), StringRef{CDCtx.RepositoryUrl.getValue()}));
+ I.DefLoc.value(), StringRef{CDCtx.RepositoryUrl.value()}));
}
std::string Description;
@@ -702,10 +702,10 @@ genHTML(const FunctionInfo &I, const ClangDocContext &CDCtx,
if (I.DefLoc) {
if (!CDCtx.RepositoryUrl)
- Out.emplace_back(writeFileDefinition(I.DefLoc.getValue()));
+ Out.emplace_back(writeFileDefinition(I.DefLoc.value()));
else
Out.emplace_back(writeFileDefinition(
- I.DefLoc.getValue(), StringRef{CDCtx.RepositoryUrl.getValue()}));
+ I.DefLoc.value(), StringRef{CDCtx.RepositoryUrl.value()}));
}
std::string Description;
@@ -768,10 +768,10 @@ genHTML(const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx,
if (I.DefLoc) {
if (!CDCtx.RepositoryUrl)
- Out.emplace_back(writeFileDefinition(I.DefLoc.getValue()));
+ Out.emplace_back(writeFileDefinition(I.DefLoc.value()));
else
Out.emplace_back(writeFileDefinition(
- I.DefLoc.getValue(), StringRef{CDCtx.RepositoryUrl.getValue()}));
+ I.DefLoc.value(), StringRef{CDCtx.RepositoryUrl.value()}));
}
std::string Description;