[clang] 4f5d463 - Remove malformed brief commands in comments (NFC) (#70746)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 31 03:49:57 PDT 2023
Author: Mike Rice
Date: 2023-10-31T03:49:53-07:00
New Revision: 4f5d463505b3e313cd3943132e7b2784a65c39d9
URL: https://github.com/llvm/llvm-project/commit/4f5d463505b3e313cd3943132e7b2784a65c39d9
DIFF: https://github.com/llvm/llvm-project/commit/4f5d463505b3e313cd3943132e7b2784a65c39d9.diff
LOG: Remove malformed brief commands in comments (NFC) (#70746)
Co-authored-by: Timm Baeder <tbaeder at redhat.com>
Added:
Modified:
clang/include/clang/Basic/TargetInfo.h
clang/include/clang/Parse/Parser.h
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h
index 9d56e97a3d4bb88..b3c5cbfb319f01f 100644
--- a/clang/include/clang/Basic/TargetInfo.h
+++ b/clang/include/clang/Basic/TargetInfo.h
@@ -1291,20 +1291,20 @@ class TargetInfo : public TransferrableTargetInfo,
fillValidCPUList(Values);
}
- /// brief Determine whether this TargetInfo supports the given CPU name.
+ /// Determine whether this TargetInfo supports the given CPU name.
virtual bool isValidCPUName(StringRef Name) const {
return true;
}
- /// brief Determine whether this TargetInfo supports the given CPU name for
- // tuning.
+ /// Determine whether this TargetInfo supports the given CPU name for
+ /// tuning.
virtual bool isValidTuneCPUName(StringRef Name) const {
return isValidCPUName(Name);
}
virtual ParsedTargetAttr parseTargetAttr(StringRef Str) const;
- /// brief Determine whether this TargetInfo supports tune in target attribute.
+ /// Determine whether this TargetInfo supports tune in target attribute.
virtual bool supportsTargetAttributeTune() const {
return false;
}
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h
index 79ac622fd03e24e..30e0352c868637b 100644
--- a/clang/include/clang/Parse/Parser.h
+++ b/clang/include/clang/Parse/Parser.h
@@ -663,9 +663,9 @@ class Parser : public CodeCompletionHandler {
return PrevTokLocation;
}
- ///\ brief When we are consuming a code-completion token without having
- /// matched specific position in the grammar, provide code-completion results
- /// based on context.
+ /// When we are consuming a code-completion token without having matched
+ /// specific position in the grammar, provide code-completion results based
+ /// on context.
///
/// \returns the source location of the code-completion token.
SourceLocation handleUnexpectedCodeCompletionToken();
More information about the cfe-commits
mailing list