aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2025-10-22 20:46:40 -0700
committerGitHub <noreply@github.com>2025-10-23 03:46:40 +0000
commit6fdef0bbe235303dd98be61275acfa79fab34770 (patch)
treed88a01fcf6c57579ad35d7c4b4cdaa054ba7a88d /clang/lib/Frontend/InitPreprocessor.cpp
parent3c2dae69196801b830e849f43b744a15fbc75547 (diff)
downloadllvm-6fdef0bbe235303dd98be61275acfa79fab34770.zip
llvm-6fdef0bbe235303dd98be61275acfa79fab34770.tar.gz
llvm-6fdef0bbe235303dd98be61275acfa79fab34770.tar.bz2
[NFC][GlobPattern] Add GlobPattern::longest_substr() (#164512)
Finds longest (almost) plain substring in the pattern. Implementation is conservative to avoid false positives. The result is not used to optimize `GlobPattern::match()` so it's calculated on request. For * https://github.com/llvm/llvm-project/pull/164545 --------- Co-authored-by: Luke Lau <luke@igalia.com>
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions