We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381f2d7 commit e785793Copy full SHA for e785793
clang/utils/TableGen/SveEmitter.cpp
@@ -252,9 +252,7 @@ class Intrinsic {
252
/// a short form without the type-specifiers, e.g. 'svld1(..)' instead of
253
/// 'svld1_u32(..)'.
254
static bool isOverloadedIntrinsic(StringRef Name) {
255
- auto BrOpen = Name.find('[');
256
- auto BrClose = Name.find(']');
257
- return BrOpen != std::string::npos && BrClose != std::string::npos;
+ return Name.contains('[') && Name.contains(']');
258
}
259
260
/// Return true if the intrinsic takes a splat operand.
0 commit comments