From 060505aa0d49f31e6f2fd4e137c76d86f571f66b Mon Sep 17 00:00:00 2001 From: erichkeane Date: Fri, 12 Jan 2024 13:55:07 -0800 Subject: [PATCH] [OpenACC] Remove mistakenly left TODO and fix format issue --- clang/lib/Parse/ParseOpenACC.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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( Tok.getIdentifierInfo()->getName()) - .Case("attach",OpenACCClauseKind::Attach) + .Case("attach", OpenACCClauseKind::Attach) .Case("auto", OpenACCClauseKind::Auto) .Case("copy", OpenACCClauseKind::Copy) .Case("default", OpenACCClauseKind::Default)