mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 06:36:06 +00:00
[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.
This commit is contained in:
parent
aacb8985f7
commit
4bc4c7baed
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user