[clang] 4bc4c7b - [NFC] Change name of two helper functions to match naming conventions
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 9 13:07:37 PDT 2024
Author: erichkeane
Date: 2024-04-09T13:07:31-07:00
New Revision: 4bc4c7baed1a4ef13a0964fbf97f4dc1560de592
URL: https://github.com/llvm/llvm-project/commit/4bc4c7baed1a4ef13a0964fbf97f4dc1560de592
DIFF: https://github.com/llvm/llvm-project/commit/4bc4c7baed1a4ef13a0964fbf97f4dc1560de592.diff
LOG: [NFC] Change name of two helper functions to match naming conventions
Brought up in #88135, I inadvertently mis-named these functions, so
correcting them here.
Added:
Modified:
clang/include/clang/Basic/OpenACCKinds.h
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/OpenACCKinds.h b/clang/include/clang/Basic/OpenACCKinds.h
index 4456f4afd142df..95fc35a5bedb76 100644
--- a/clang/include/clang/Basic/OpenACCKinds.h
+++ b/clang/include/clang/Basic/OpenACCKinds.h
@@ -67,7 +67,7 @@ enum class OpenACCDirectiveKind {
};
template <typename StreamTy>
-inline StreamTy &PrintOpenACCDirectiveKind(StreamTy &Out,
+inline StreamTy &printOpenACCDirectiveKind(StreamTy &Out,
OpenACCDirectiveKind K) {
switch (K) {
case OpenACCDirectiveKind::Parallel:
@@ -138,12 +138,12 @@ inline StreamTy &PrintOpenACCDirectiveKind(StreamTy &Out,
inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &Out,
OpenACCDirectiveKind K) {
- return PrintOpenACCDirectiveKind(Out, K);
+ return printOpenACCDirectiveKind(Out, K);
}
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &Out,
OpenACCDirectiveKind K) {
- return PrintOpenACCDirectiveKind(Out, K);
+ return printOpenACCDirectiveKind(Out, K);
}
enum class OpenACCAtomicKind {
@@ -266,7 +266,7 @@ enum class OpenACCClauseKind {
};
template <typename StreamTy>
-inline StreamTy &PrintOpenACCClauseKind(StreamTy &Out, OpenACCClauseKind K) {
+inline StreamTy &printOpenACCClauseKind(StreamTy &Out, OpenACCClauseKind K) {
switch (K) {
case OpenACCClauseKind::Finalize:
return Out << "finalize";
@@ -402,12 +402,12 @@ inline StreamTy &PrintOpenACCClauseKind(StreamTy &Out, OpenACCClauseKind K) {
inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &Out,
OpenACCClauseKind K) {
- return PrintOpenACCClauseKind(Out, K);
+ return printOpenACCClauseKind(Out, K);
}
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &Out,
OpenACCClauseKind K) {
- return PrintOpenACCClauseKind(Out, K);
+ return printOpenACCClauseKind(Out, K);
}
enum class OpenACCDefaultClauseKind {
More information about the cfe-commits
mailing list