[llvm] r266696 - Add missing header, found by modules selfhost.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 20:47:09 PDT 2016


Should that be cstddef? That seems to be the prevailing style in the
codebase.

On Mon, Apr 18, 2016 at 4:24 PM, Richard Smith via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: rsmith
> Date: Mon Apr 18 18:24:39 2016
> New Revision: 266696
>
> URL: http://llvm.org/viewvc/llvm-project?rev=266696&view=rev
> Log:
> Add missing header, found by modules selfhost.
>
> Modified:
>     llvm/trunk/include/llvm/Support/AtomicOrdering.h
>
> Modified: llvm/trunk/include/llvm/Support/AtomicOrdering.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/AtomicOrdering.h?rev=266696&r1=266695&r2=266696&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/Support/AtomicOrdering.h (original)
> +++ llvm/trunk/include/llvm/Support/AtomicOrdering.h Mon Apr 18 18:24:39
> 2016
> @@ -18,6 +18,8 @@
>  #ifndef LLVM_SUPPORT_ATOMICORDERING_H
>  #define LLVM_SUPPORT_ATOMICORDERING_H
>
> +#include <stddef.h>
> +
>  namespace llvm {
>
>  /// Atomic ordering for C11 / C++11's memody models.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>



-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160418/04c05c97/attachment.html>


More information about the llvm-commits mailing list