[Support] Add missing <cstdint> header to Base64.h
authorSergei Trofimovich <slyich@gmail.com>
Mon, 23 May 2022 07:39:48 +0000 (08:39 +0100)
committerSergei Trofimovich <slyich@gmail.com>
Mon, 23 May 2022 07:48:14 +0000 (08:48 +0100)
commit5e9be93566f39ee6cecd579401e453eccfbe81e5
tree65b922ba88becee3732ec5f7ec4221b2804c988b
parentff1681ddb303223973653f7f5f3f3435b48a1983
[Support] Add missing <cstdint> header to Base64.h

Without the change llvm build fails on this week's gcc-13 snapshot as:

    [ 91%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/Base64Test.cpp.o
    In file included from llvm/unittests/Support/Base64Test.cpp:14:
    llvm/include/llvm/Support/Base64.h: In function 'std::string llvm::encodeBase64(const InputBytes&)':
    llvm/include/llvm/Support/Base64.h:29:5: error: 'uint32_t' was not declared in this scope
       29 |     uint32_t x = ((unsigned char)Bytes[i] << 16) |
          |     ^~~~~~~~
llvm/include/llvm/Support/Base64.h