[llvm] r316696 - Support/reg*.h: Make headers include their dependencies

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 13:23:11 PDT 2017


Author: dblaikie
Date: Thu Oct 26 13:23:11 2017
New Revision: 316696

URL: http://llvm.org/viewvc/llvm-project?rev=316696&view=rev
Log:
Support/reg*.h: Make headers include their dependencies

Modified:
    llvm/trunk/lib/Support/regcclass.h
    llvm/trunk/lib/Support/regcname.h
    llvm/trunk/lib/Support/regex2.h

Modified: llvm/trunk/lib/Support/regcclass.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/regcclass.h?rev=316696&r1=316695&r2=316696&view=diff
==============================================================================
--- llvm/trunk/lib/Support/regcclass.h (original)
+++ llvm/trunk/lib/Support/regcclass.h Thu Oct 26 13:23:11 2017
@@ -40,6 +40,8 @@
 #ifndef LLVM_SUPPORT_REGCCLASS_H
 #define LLVM_SUPPORT_REGCCLASS_H
 
+#include <stddef.h>
+
 /* character-class table */
 static struct cclass {
 	const char *name;

Modified: llvm/trunk/lib/Support/regcname.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/regcname.h?rev=316696&r1=316695&r2=316696&view=diff
==============================================================================
--- llvm/trunk/lib/Support/regcname.h (original)
+++ llvm/trunk/lib/Support/regcname.h Thu Oct 26 13:23:11 2017
@@ -38,6 +38,8 @@
 #ifndef LLVM_SUPPORT_REGCNAME_H
 #define LLVM_SUPPORT_REGCNAME_H
 
+#include <stddef.h>
+
 /* character-name table */
 static struct cname {
 	const char *name;

Modified: llvm/trunk/lib/Support/regex2.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/regex2.h?rev=316696&r1=316695&r2=316696&view=diff
==============================================================================
--- llvm/trunk/lib/Support/regex2.h (original)
+++ llvm/trunk/lib/Support/regex2.h Thu Oct 26 13:23:11 2017
@@ -38,6 +38,9 @@
 #ifndef LLVM_SUPPORT_REGEX2_H
 #define LLVM_SUPPORT_REGEX2_H
 
+#include "regutils.h"
+#include <stddef.h>
+
 /*
  * internals of regex_t
  */




More information about the llvm-commits mailing list