[clang] 060505a - [OpenACC] Remove mistakenly left TODO and fix format issue
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 12 13:55:20 PST 2024
Author: erichkeane
Date: 2024-01-12T13:55:15-08:00
New Revision: 060505aa0d49f31e6f2fd4e137c76d86f571f66b
URL: https://github.com/llvm/llvm-project/commit/060505aa0d49f31e6f2fd4e137c76d86f571f66b
DIFF: https://github.com/llvm/llvm-project/commit/060505aa0d49f31e6f2fd4e137c76d86f571f66b.diff
LOG: [OpenACC] Remove mistakenly left TODO and fix format issue
Added:
Modified:
clang/lib/Parse/ParseOpenACC.cpp
Removed:
################################################################################
diff --git a/clang/lib/Parse/ParseOpenACC.cpp b/clang/lib/Parse/ParseOpenACC.cpp
index 83378a094492b2..05087a6565a11c 100644
--- a/clang/lib/Parse/ParseOpenACC.cpp
+++ b/clang/lib/Parse/ParseOpenACC.cpp
@@ -87,10 +87,9 @@ OpenACCClauseKind getOpenACCClauseKind(Token Tok) {
if (!Tok.is(tok::identifier))
return OpenACCClauseKind::Invalid;
- // TODO: ERICH: add new clauses here.
return llvm::StringSwitch<OpenACCClauseKind>(
Tok.getIdentifierInfo()->getName())
- .Case("attach",OpenACCClauseKind::Attach)
+ .Case("attach", OpenACCClauseKind::Attach)
.Case("auto", OpenACCClauseKind::Auto)
.Case("copy", OpenACCClauseKind::Copy)
.Case("default", OpenACCClauseKind::Default)
More information about the cfe-commits
mailing list