aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Imschweiler <robert.imschweiler@amd.com>2026-01-30 02:20:30 -0600
committerRobert Imschweiler <robert.imschweiler@amd.com>2026-01-30 02:20:30 -0600
commitdea92e0aa78b5e04bda1729c4edc13ff6668fd56 (patch)
tree334ab1ef82787dc30f0ee99e1612da37b3bb885a
parent1e3c35165316d5fa2221ef72b700644df51d908d (diff)
downloadllvm-users/ro-i/omp-stringref.zip
llvm-users/ro-i/omp-stringref.tar.gz
llvm-users/ro-i/omp-stringref.tar.bz2
-rw-r--r--openmp/runtime/src/kmp_adt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/openmp/runtime/src/kmp_adt.h b/openmp/runtime/src/kmp_adt.h
index 120a067..8ecff04 100644
--- a/openmp/runtime/src/kmp_adt.h
+++ b/openmp/runtime/src/kmp_adt.h
@@ -98,9 +98,7 @@ public:
// Drop the first n characters from the string.
// (Limit n to the length of the string.)
- void drop_front(size_t n) {
- sv.remove_prefix(std::min(n, length()));
- }
+ void drop_front(size_t n) { sv.remove_prefix(std::min(n, length())); }
// Drop characters from the string while the predicate returns true.
void drop_while(bool (*predicate)(char)) {