[clang] 92eaeb6 - [clang][Parse][NFC] Remove dead if statement
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 28 10:38:12 PDT 2023
Author: Timm Bäder
Date: 2023-09-28T19:37:42+02:00
New Revision: 92eaeb6c63d260a4f618a57c6441d2c3153280ca
URL: https://github.com/llvm/llvm-project/commit/92eaeb6c63d260a4f618a57c6441d2c3153280ca
DIFF: https://github.com/llvm/llvm-project/commit/92eaeb6c63d260a4f618a57c6441d2c3153280ca.diff
LOG: [clang][Parse][NFC] Remove dead if statement
This was never doing anything ever since it was introduced.
Added:
Modified:
clang/lib/Parse/ParseDeclCXX.cpp
Removed:
################################################################################
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp
index d6e81317197bcae..cebcfbbd6cb6e33 100644
--- a/clang/lib/Parse/ParseDeclCXX.cpp
+++ b/clang/lib/Parse/ParseDeclCXX.cpp
@@ -4428,8 +4428,6 @@ bool Parser::ParseCXX11AttributeArgs(
!hasAttribute(LO.CPlusPlus ? AttributeCommonInfo::Syntax::AS_CXX11
: AttributeCommonInfo::Syntax::AS_C23,
ScopeName, AttrName, getTargetInfo(), getLangOpts())) {
- if (getLangOpts().MicrosoftExt || getLangOpts().HLSL) {
- }
// Eat the left paren, then skip to the ending right paren.
ConsumeParen();
SkipUntil(tok::r_paren);
More information about the cfe-commits
mailing list