LLVM 20.0.0git
|
#include "llvm/TableGen/StringMatcher.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <map>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Functions | |
static unsigned | FindFirstNonCommonLetter (const std::vector< const StringMatcher::StringPair * > &Matches) |
FindFirstNonCommonLetter - Find the first character in the keys of the string pairs that is not shared across the whole set of strings. | |
|
static |
FindFirstNonCommonLetter - Find the first character in the keys of the string pairs that is not shared across the whole set of strings.
All strings are assumed to have the same length.
Definition at line 29 of file StringMatcher.cpp.
References assert(), and llvm::Match.