|
[asher:Zero] [23:01:01] [Tue Jan 09] [~/Projects/Source/llvm-build/bin] |
|
∴ ./clang++ -I/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include -o ~/test ~/test.cc |
|
In file included from /Users/asher/test.cc:1: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Tooling/Tooling.h:33: |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/AST/ASTConsumer.h:124:66: error: use of undeclared identifier 'nullptr' |
|
virtual ASTMutationListener *GetASTMutationListener() { return nullptr; } |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/AST/ASTConsumer.h:129:12: error: use of undeclared identifier 'nullptr' |
|
return nullptr; |
|
^ |
|
In file included from /Users/asher/test.cc:1: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Tooling/Tooling.h:34: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/Diagnostic.h:18: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/DiagnosticIDs.h:18: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/LLVM.h:22: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:19: |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:53:32: error: a space is required between consecutive right |
|
angle brackets (use '> >') |
|
struct isPodLike<std::pair<T, U>> { |
|
^~ |
|
> > |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:65:23: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using UnderlyingT = typename std::remove_reference<T>::type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:78:59: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
struct add_lvalue_reference_if_not_pointer { using type = T &; }; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:83:16: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using type = T; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:89:46: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
struct add_const_past_pointer { using type = const T; }; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:94:16: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using type = const typename std::remove_pointer<T>::type *; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:99:16: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using type = const T &; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/type_traits.h:104:16: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using type = typename add_const_past_pointer<T>::type; |
|
^ |
|
In file included from /Users/asher/test.cc:1: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Tooling/Tooling.h:34: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/Diagnostic.h:18: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/DiagnosticIDs.h:18: |
|
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/LLVM.h:22: |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:35:22: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using SimpleType = From; // The real type this represents... |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:42:30: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using NonConstSimpleType = typename simplify_type<From>::SimpleType; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:44:7: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
typename add_const_past_pointer<NonConstSimpleType>::type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:46:7: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
typename add_lvalue_reference_if_not_pointer<SimpleType>::type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:83:50: error: a space is required between consecutive right |
|
angle brackets (use '> >') |
|
struct isa_impl_cl<To, const std::unique_ptr<From>> { |
|
^~ |
|
> > |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:156:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = To &; // Normal case, return Ty& |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:159:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = const To &; // Normal case, return Ty& |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:163:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = To *; // Pointer arg case, return Ty* |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:167:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = const To *; // Constant pointer arg case, return const Ty* |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:171:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = const To *; // Constant pointer arg case, return const Ty* |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:175:48: error: a space is required between consecutive right |
|
angle brackets (use '> >') |
|
struct cast_retty_impl<To, std::unique_ptr<From>> { |
|
^~ |
|
> > |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:177:23: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using PointerType = typename cast_retty_impl<To, From *>::ret_type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:178:22: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ResultType = typename std::remove_pointer<PointerType>::type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:181:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = std::unique_ptr<ResultType>; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:189:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = typename cast_retty<To, SimpleFrom>::ret_type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:195:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = typename cast_retty_impl<To,FromTy>::ret_type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:200:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = typename cast_retty_wrap< |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:261:48: error: a space is required between consecutive right |
|
angle brackets (use '> >') |
|
inline typename cast_retty<X, std::unique_ptr<Y>>::ret_type |
|
^~ |
|
> > |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:262:25: warning: rvalue references are a C++11 extension |
|
[-Wc++11-extensions] |
|
cast(std::unique_ptr<Y> &&Val) { |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:264:20: warning: alias declarations are a C++11 extension |
|
[-Wc++11-extensions] |
|
using ret_type = typename cast_retty<X, std::unique_ptr<Y>>::ret_type; |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:264:60: error: a space is required between consecutive right |
|
angle brackets (use '> >') |
|
using ret_type = typename cast_retty<X, std::unique_ptr<Y>>::ret_type; |
|
^~ |
|
> > |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:304:48: error: a space is required between consecutive right |
|
angle brackets (use '> >') |
|
inline typename cast_retty<X, std::unique_ptr<Y>>::ret_type |
|
^~ |
|
> > |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:305:33: warning: rvalue references are a C++11 extension |
|
[-Wc++11-extensions] |
|
cast_or_null(std::unique_ptr<Y> &&Val) { |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:368:23: warning: 'auto' type specifier is a C++11 extension |
|
[-Wc++11-extensions] |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val) |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:368:23: error: 'auto' not allowed in function return type |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val) |
|
^~~~ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:368:68: error: expected ';' at end of declaration |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val) |
|
^ |
|
; |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:369:5: error: cannot use arrow operator on a type |
|
-> decltype(cast<X>(Val)) { |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:376:23: warning: 'auto' type specifier is a C++11 extension |
|
[-Wc++11-extensions] |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:376:63: warning: rvalue references are a C++11 extension |
|
[-Wc++11-extensions] |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:376:23: error: 'auto' not allowed in function return type |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) |
|
^~~~ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:376:69: error: expected ';' at end of declaration |
|
LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) |
|
^ |
|
; |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:377:5: error: cannot use arrow operator on a type |
|
-> decltype(cast<X>(Val)) { |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:384:23: warning: 'auto' type specifier is a C++11 extension |
|
[-Wc++11-extensions] |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &Val) |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:384:23: error: 'auto' not allowed in function return type |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &Val) |
|
^~~~ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:384:76: error: expected ';' at end of declaration |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &Val) |
|
^ |
|
; |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:385:5: error: cannot use arrow operator on a type |
|
-> decltype(cast<X>(Val)) { |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:392:23: warning: 'auto' type specifier is a C++11 extension |
|
[-Wc++11-extensions] |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val) |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:392:71: warning: rvalue references are a C++11 extension |
|
[-Wc++11-extensions] |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val) |
|
^ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:392:23: error: 'auto' not allowed in function return type |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val) |
|
^~~~ |
|
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/Casting.h:392:77: error: expected ';' at end of declaration |
|
LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val) |
|
^ |
|
; |
|
fatal error: too many errors emitted, stopping now [-ferror-limit=] |
|
31 warnings and 20 errors generated. |
[asher:Zero] [23:06:11] [Tue Jan 09] [/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/bin]
∴ ./clang++ -std=c++11 -I/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include -o ~/test ~/test.cc
In file included from /Users/asher/test.cc:1:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Tooling/Tooling.h:34:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/Diagnostic.h:18:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/DiagnosticIDs.h:20:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/ADT/StringRef.h:13:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/ADT/STLExtras.h:21:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/ADT/SmallVector.h:20:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/MathExtras.h:18:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/DataTypes.h:33:
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:314:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:315:9: error: no member named 'isfinite' in the global namespace; did you
mean 'finite'?
using ::isfinite;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/math.h:757:12: note: 'finite' declared here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
^
In file included from /Users/asher/test.cc:1:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Tooling/Tooling.h:34:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/Diagnostic.h:18:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/clang/Basic/DiagnosticIDs.h:20:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/ADT/StringRef.h:13:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/ADT/STLExtras.h:21:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/ADT/SmallVector.h:20:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/MathExtras.h:18:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/llvm/Support/DataTypes.h:33:
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:316:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:317:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:318:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:319:9: error: no member named 'isgreater' in the global namespace
using ::isgreater;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:320:9: error: no member named 'isgreaterequal' in the global namespace
using ::isgreaterequal;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:321:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:322:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:323:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:324:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/usr/local/Toolchains/LLVM6.0.0svn.xctoolchain/usr/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.