[PATCH] D47164: Add missing include for cstdint to Visibility.h

Raphael Isemann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 21 15:28:19 PDT 2018


teemperor created this revision.

We use uint8_t in this header, so we need to include cstdint.


Repository:
  rC Clang

https://reviews.llvm.org/D47164

Files:
  include/clang/Basic/Visibility.h


Index: include/clang/Basic/Visibility.h
===================================================================
--- include/clang/Basic/Visibility.h
+++ include/clang/Basic/Visibility.h
@@ -17,6 +17,7 @@
 
 #include "clang/Basic/Linkage.h"
 #include <cassert>
+#include <cstdint>
 
 namespace clang {
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47164.147891.patch
Type: text/x-patch
Size: 299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180521/68ceb1c5/attachment.bin>


More information about the cfe-commits mailing list