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 c4e9901 commit 0f97cd8Copy full SHA for 0f97cd8
clang/lib/Frontend/InitPreprocessor.cpp
@@ -32,7 +32,7 @@ using namespace clang;
32
static bool MacroBodyEndsInBackslash(StringRef MacroBody) {
33
while (!MacroBody.empty() && isWhitespace(MacroBody.back()))
34
MacroBody = MacroBody.drop_back();
35
- return !MacroBody.empty() && MacroBody.back() == '\\';
+ return MacroBody.ends_with('\\');
36
}
37
38
// Append a #define line to Buf for Macro. Macro should be of the form XXX,
0 commit comments