[llvm] r270954 - [codeview] #include missing header breaking builds.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 19:24:33 PDT 2016


It wouldn't fix the build with libstdc++4.8 because their type_traits
header does not define is_trivially_constructible, although it is part of
C++11.

On Thu, May 26, 2016 at 7:12 PM, Zachary Turner via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: zturner
> Date: Thu May 26 21:12:35 2016
> New Revision: 270954
>
> URL: http://llvm.org/viewvc/llvm-project?rev=270954&view=rev
> Log:
> [codeview] #include missing header breaking builds.
>
> Modified:
>     llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h
>
> Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h?rev=270954&r1=270953&r2=270954&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h (original)
> +++ llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h Thu May 26
> 21:12:35 2016
> @@ -13,6 +13,7 @@
>  #include "llvm/DebugInfo/CodeView/StreamRef.h"
>
>  #include <functional>
> +#include <type_traits>
>
>  namespace llvm {
>  namespace codeview {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/84d4ff3e/attachment.html>


More information about the llvm-commits mailing list