Code-Review | +1 |
bool MatchPattern(std::string_view string, std::string_view pattern);
`#include <string_view>`
// constructors which will cause the std::string_view constructors to be de-inlined
Reflow this comment.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
bool MatchPattern(std::string_view string, std::string_view pattern);
Joshua Peraza`#include <string_view>`
Done
// constructors which will cause the std::string_view constructors to be de-inlined
Joshua PerazaReflow this comment.
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
4 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: base/strings/pattern.h
Insertions: 2, Deletions: 0.
@@ -5,6 +5,8 @@
#ifndef BASE_STRINGS_PATTERN_H_
#define BASE_STRINGS_PATTERN_H_
+#include <string_view>
+
namespace base {
// Returns true if the |string| passed in matches the |pattern|. The pattern
```
```
The name of the file: base/strings/strcat.h
Insertions: 3, Deletions: 3.
@@ -50,9 +50,9 @@
//
// As-written Abseil's helper class for numbers generates slightly more code
// than the raw std::string_view version. We can de-inline the helper class'
-// constructors which will cause the std::string_view constructors to be de-inlined
-// for this call and generate slightly less code. This is something we can
-// explore more in the future.
+// constructors which will cause the std::string_view constructors to be
+// de-inlined for this call and generate slightly less code. This is something
+// we can explore more in the future.
[[nodiscard]] std::string StrCat(span<const std::string_view> pieces);
```
Convert base::StringPiece to std::string_view
Generated with the script in https://g-issues.chromium.org/issues/40506050#comment344
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |