mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Fix known typos
Sweep the codebase for common typos. Includes some changes to visible function names that were misspelt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200018 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -32,10 +32,10 @@ namespace {
|
||||
|
||||
#ifdef LLVM_ON_WIN32
|
||||
const char *separators = "\\/";
|
||||
const char prefered_separator = '\\';
|
||||
const char preferred_separator = '\\';
|
||||
#else
|
||||
const char separators = '/';
|
||||
const char prefered_separator = '/';
|
||||
const char preferred_separator = '/';
|
||||
#endif
|
||||
|
||||
StringRef find_first_component(StringRef path) {
|
||||
@ -403,7 +403,7 @@ void append(SmallVectorImpl<char> &path, const Twine &a,
|
||||
|
||||
if (!component_has_sep && !(path.empty() || is_root_name)) {
|
||||
// Add a separator.
|
||||
path.push_back(prefered_separator);
|
||||
path.push_back(preferred_separator);
|
||||
}
|
||||
|
||||
path.append(i->begin(), i->end());
|
||||
|
Reference in New Issue
Block a user