LLVM API Documentation

Functions
StringMatcher.cpp File Reference
#include "llvm/TableGen/StringMatcher.h"
#include "llvm/Support/raw_ostream.h"
#include <map>
Include dependency graph for StringMatcher.cpp:

Go to the source code of this file.

Functions

static unsigned FindFirstNonCommonLetter (const std::vector< const StringMatcher::StringPair * > &Matches)

Function Documentation

static unsigned FindFirstNonCommonLetter ( const std::vector< const StringMatcher::StringPair * > &  Matches) [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 23 of file StringMatcher.cpp.