Skip to content

Commit 42b3a5f

Browse files
committed
[clang] Add missing header include
With my version of the MSVC tools (14.11.25503), this was failing to build because of missing declarations of `std::isalnum` and `std::isdigit`. Include `<cctype>` to get these.
1 parent c27d815 commit 42b3a5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
#include "llvm/Support/Process.h"
5353
#include "llvm/Support/TargetParser.h"
5454
#include "llvm/Support/YAMLParser.h"
55+
#include <cctype>
5556

5657
using namespace clang::driver;
5758
using namespace clang::driver::tools;

0 commit comments

Comments
 (0)