Thanks Dmitri!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228163
91177308-0d34-0410-b5e6-
96231b3b80d8
#include "Tools.h"
#include "InputInfo.h"
#include "ToolChains.h"
+#include "clang/Basic/CharInfo.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/ObjCRuntime.h"
#include "clang/Basic/Version.h"
// Validate that LoginName can be used in a path, and get its length.
size_t Len = 0;
for (const char *P = Username; *P; ++P, ++Len) {
- if (!isalnum(*P) && *P != '_') {
+ if (!isAlphanumeric(*P) && *P != '_') {
Username = nullptr;
break;
}