mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Add backwards compatibility shims for old wpiutil headers.
These generate a warning when included, then include the old header. Note for GCC, #warning is used; this requires -std=gnu++14 instead of -std=c++14 (otherwise the warning is treated as an error because #warning is a GNU extension). On MSVC, #pragma message is used, which is a bit unsatisfactory as the message doesn't say where it was included from. The llvm shim headers also include a llvm namespace shim.
This commit is contained in:
18
wpiutil/src/main/native/include/llvm/AlignOf.h
Normal file
18
wpiutil/src/main/native/include/llvm/AlignOf.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/AlignOf.h is deprecated; include wpi/AlignOf.h instead"
|
||||
#else
|
||||
#warning "llvm/AlignOf.h is deprecated; include wpi/AlignOf.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/AlignOf.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/ArrayRef.h
Normal file
18
wpiutil/src/main/native/include/llvm/ArrayRef.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/ArrayRef.h is deprecated; include wpi/ArrayRef.h instead"
|
||||
#else
|
||||
#warning "llvm/ArrayRef.h is deprecated; include wpi/ArrayRef.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/ArrayRef.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/Compiler.h
Normal file
18
wpiutil/src/main/native/include/llvm/Compiler.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/Compiler.h is deprecated; include wpi/Compiler.h instead"
|
||||
#else
|
||||
#warning "llvm/Compiler.h is deprecated; include wpi/Compiler.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Compiler.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/ConvertUTF.h
Normal file
18
wpiutil/src/main/native/include/llvm/ConvertUTF.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/ConvertUTF.h is deprecated; include wpi/ConvertUTF.h instead"
|
||||
#else
|
||||
#warning "llvm/ConvertUTF.h is deprecated; include wpi/ConvertUTF.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/ConvertUTF.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/DenseMap.h
Normal file
18
wpiutil/src/main/native/include/llvm/DenseMap.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/DenseMap.h is deprecated; include wpi/DenseMap.h instead"
|
||||
#else
|
||||
#warning "llvm/DenseMap.h is deprecated; include wpi/DenseMap.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/DenseMap.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/DenseMapInfo.h
Normal file
18
wpiutil/src/main/native/include/llvm/DenseMapInfo.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/DenseMapInfo.h is deprecated; include wpi/DenseMapInfo.h instead"
|
||||
#else
|
||||
#warning "llvm/DenseMapInfo.h is deprecated; include wpi/DenseMapInfo.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/DenseMapInfo.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/EpochTracker.h
Normal file
18
wpiutil/src/main/native/include/llvm/EpochTracker.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/EpochTracker.h is deprecated; include wpi/EpochTracker.h instead"
|
||||
#else
|
||||
#warning "llvm/EpochTracker.h is deprecated; include wpi/EpochTracker.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/EpochTracker.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/FileSystem.h
Normal file
18
wpiutil/src/main/native/include/llvm/FileSystem.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/FileSystem.h is deprecated; include wpi/FileSystem.h instead"
|
||||
#else
|
||||
#warning "llvm/FileSystem.h is deprecated; include wpi/FileSystem.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/FileSystem.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/Format.h
Normal file
18
wpiutil/src/main/native/include/llvm/Format.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/Format.h is deprecated; include wpi/Format.h instead"
|
||||
#else
|
||||
#warning "llvm/Format.h is deprecated; include wpi/Format.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Format.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/Hashing.h
Normal file
18
wpiutil/src/main/native/include/llvm/Hashing.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/Hashing.h is deprecated; include wpi/Hashing.h instead"
|
||||
#else
|
||||
#warning "llvm/Hashing.h is deprecated; include wpi/Hashing.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Hashing.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/IntrusiveRefCntPtr.h
Normal file
18
wpiutil/src/main/native/include/llvm/IntrusiveRefCntPtr.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/IntrusiveRefCntPtr.h is deprecated; include wpi/IntrusiveRefCntPtr.h instead"
|
||||
#else
|
||||
#warning "llvm/IntrusiveRefCntPtr.h is deprecated; include wpi/IntrusiveRefCntPtr.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/IntrusiveRefCntPtr.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/MathExtras.h
Normal file
18
wpiutil/src/main/native/include/llvm/MathExtras.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/MathExtras.h is deprecated; include wpi/MathExtras.h instead"
|
||||
#else
|
||||
#warning "llvm/MathExtras.h is deprecated; include wpi/MathExtras.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/MathExtras.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/None.h
Normal file
18
wpiutil/src/main/native/include/llvm/None.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/None.h is deprecated; include wpi/None.h instead"
|
||||
#else
|
||||
#warning "llvm/None.h is deprecated; include wpi/None.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/None.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/Optional.h
Normal file
18
wpiutil/src/main/native/include/llvm/Optional.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/Optional.h is deprecated; include wpi/Optional.h instead"
|
||||
#else
|
||||
#warning "llvm/Optional.h is deprecated; include wpi/Optional.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Optional.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/Path.h
Normal file
18
wpiutil/src/main/native/include/llvm/Path.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/Path.h is deprecated; include wpi/Path.h instead"
|
||||
#else
|
||||
#warning "llvm/Path.h is deprecated; include wpi/Path.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Path.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/PointerLikeTypeTraits.h
Normal file
18
wpiutil/src/main/native/include/llvm/PointerLikeTypeTraits.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/PointerLikeTypeTraits.h is deprecated; include wpi/PointerLikeTypeTraits.h instead"
|
||||
#else
|
||||
#warning "llvm/PointerLikeTypeTraits.h is deprecated; include wpi/PointerLikeTypeTraits.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/PointerLikeTypeTraits.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/STLExtras.h
Normal file
18
wpiutil/src/main/native/include/llvm/STLExtras.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/STLExtras.h is deprecated; include wpi/STLExtras.h instead"
|
||||
#else
|
||||
#warning "llvm/STLExtras.h is deprecated; include wpi/STLExtras.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/STLExtras.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/SmallPtrSet.h
Normal file
18
wpiutil/src/main/native/include/llvm/SmallPtrSet.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/SmallPtrSet.h is deprecated; include wpi/SmallPtrSet.h instead"
|
||||
#else
|
||||
#warning "llvm/SmallPtrSet.h is deprecated; include wpi/SmallPtrSet.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/SmallPtrSet.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/SmallSet.h
Normal file
18
wpiutil/src/main/native/include/llvm/SmallSet.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/SmallSet.h is deprecated; include wpi/SmallSet.h instead"
|
||||
#else
|
||||
#warning "llvm/SmallSet.h is deprecated; include wpi/SmallSet.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/SmallSet.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/SmallString.h
Normal file
18
wpiutil/src/main/native/include/llvm/SmallString.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/SmallString.h is deprecated; include wpi/SmallString.h instead"
|
||||
#else
|
||||
#warning "llvm/SmallString.h is deprecated; include wpi/SmallString.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/SmallString.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/SmallVector.h
Normal file
18
wpiutil/src/main/native/include/llvm/SmallVector.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/SmallVector.h is deprecated; include wpi/SmallVector.h instead"
|
||||
#else
|
||||
#warning "llvm/SmallVector.h is deprecated; include wpi/SmallVector.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/SmallVector.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/StringExtras.h
Normal file
18
wpiutil/src/main/native/include/llvm/StringExtras.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/StringExtras.h is deprecated; include wpi/StringExtras.h instead"
|
||||
#else
|
||||
#warning "llvm/StringExtras.h is deprecated; include wpi/StringExtras.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/StringExtras.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/StringMap.h
Normal file
18
wpiutil/src/main/native/include/llvm/StringMap.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/StringMap.h is deprecated; include wpi/StringMap.h instead"
|
||||
#else
|
||||
#warning "llvm/StringMap.h is deprecated; include wpi/StringMap.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/StringMap.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/StringRef.h
Normal file
18
wpiutil/src/main/native/include/llvm/StringRef.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/StringRef.h is deprecated; include wpi/StringRef.h instead"
|
||||
#else
|
||||
#warning "llvm/StringRef.h is deprecated; include wpi/StringRef.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/StringRef.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/Twine.h
Normal file
18
wpiutil/src/main/native/include/llvm/Twine.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/Twine.h is deprecated; include wpi/Twine.h instead"
|
||||
#else
|
||||
#warning "llvm/Twine.h is deprecated; include wpi/Twine.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Twine.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/WindowsError.h
Normal file
18
wpiutil/src/main/native/include/llvm/WindowsError.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/WindowsError.h is deprecated; include wpi/WindowsError.h instead"
|
||||
#else
|
||||
#warning "llvm/WindowsError.h is deprecated; include wpi/WindowsError.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/WindowsError.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/iterator_range.h
Normal file
18
wpiutil/src/main/native/include/llvm/iterator_range.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/iterator_range.h is deprecated; include wpi/iterator_range.h instead"
|
||||
#else
|
||||
#warning "llvm/iterator_range.h is deprecated; include wpi/iterator_range.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/iterator_range.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/raw_os_ostream.h
Normal file
18
wpiutil/src/main/native/include/llvm/raw_os_ostream.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/raw_os_ostream.h is deprecated; include wpi/raw_os_ostream.h instead"
|
||||
#else
|
||||
#warning "llvm/raw_os_ostream.h is deprecated; include wpi/raw_os_ostream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/raw_os_ostream.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/raw_ostream.h
Normal file
18
wpiutil/src/main/native/include/llvm/raw_ostream.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/raw_ostream.h is deprecated; include wpi/raw_ostream.h instead"
|
||||
#else
|
||||
#warning "llvm/raw_ostream.h is deprecated; include wpi/raw_ostream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/raw_ostream.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
18
wpiutil/src/main/native/include/llvm/type_traits.h
Normal file
18
wpiutil/src/main/native/include/llvm/type_traits.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: llvm/type_traits.h is deprecated; include wpi/type_traits.h instead"
|
||||
#else
|
||||
#warning "llvm/type_traits.h is deprecated; include wpi/type_traits.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/type_traits.h"
|
||||
|
||||
namespace llvm = wpi;
|
||||
16
wpiutil/src/main/native/include/support/Base64.h
Normal file
16
wpiutil/src/main/native/include/support/Base64.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/Base64.h is deprecated; include wpi/Base64.h instead"
|
||||
#else
|
||||
#warning "support/Base64.h is deprecated; include wpi/Base64.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Base64.h"
|
||||
16
wpiutil/src/main/native/include/support/ConcurrentQueue.h
Normal file
16
wpiutil/src/main/native/include/support/ConcurrentQueue.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/ConcurrentQueue.h is deprecated; include wpi/ConcurrentQueue.h instead"
|
||||
#else
|
||||
#warning "support/ConcurrentQueue.h is deprecated; include wpi/ConcurrentQueue.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/ConcurrentQueue.h"
|
||||
16
wpiutil/src/main/native/include/support/HttpUtil.h
Normal file
16
wpiutil/src/main/native/include/support/HttpUtil.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/HttpUtil.h is deprecated; include wpi/HttpUtil.h instead"
|
||||
#else
|
||||
#warning "support/HttpUtil.h is deprecated; include wpi/HttpUtil.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/HttpUtil.h"
|
||||
16
wpiutil/src/main/native/include/support/HttpUtil.inl
Normal file
16
wpiutil/src/main/native/include/support/HttpUtil.inl
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/HttpUtil.inl is deprecated; include wpi/HttpUtil.inl instead"
|
||||
#else
|
||||
#warning "support/HttpUtil.inl is deprecated; include wpi/HttpUtil.inl instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/HttpUtil.inl"
|
||||
16
wpiutil/src/main/native/include/support/Logger.h
Normal file
16
wpiutil/src/main/native/include/support/Logger.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/Logger.h is deprecated; include wpi/Logger.h instead"
|
||||
#else
|
||||
#warning "support/Logger.h is deprecated; include wpi/Logger.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/Logger.h"
|
||||
16
wpiutil/src/main/native/include/support/SafeThread.h
Normal file
16
wpiutil/src/main/native/include/support/SafeThread.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/SafeThread.h is deprecated; include wpi/SafeThread.h instead"
|
||||
#else
|
||||
#warning "support/SafeThread.h is deprecated; include wpi/SafeThread.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/SafeThread.h"
|
||||
16
wpiutil/src/main/native/include/support/UidVector.h
Normal file
16
wpiutil/src/main/native/include/support/UidVector.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/UidVector.h is deprecated; include wpi/UidVector.h instead"
|
||||
#else
|
||||
#warning "support/UidVector.h is deprecated; include wpi/UidVector.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/UidVector.h"
|
||||
16
wpiutil/src/main/native/include/support/atomic_static.h
Normal file
16
wpiutil/src/main/native/include/support/atomic_static.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/atomic_static.h is deprecated; include wpi/atomic_static.h instead"
|
||||
#else
|
||||
#warning "support/atomic_static.h is deprecated; include wpi/atomic_static.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/atomic_static.h"
|
||||
16
wpiutil/src/main/native/include/support/condition_variable.h
Normal file
16
wpiutil/src/main/native/include/support/condition_variable.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/condition_variable.h is deprecated; include wpi/condition_variable.h instead"
|
||||
#else
|
||||
#warning "support/condition_variable.h is deprecated; include wpi/condition_variable.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/condition_variable.h"
|
||||
16
wpiutil/src/main/native/include/support/deprecated.h
Normal file
16
wpiutil/src/main/native/include/support/deprecated.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/deprecated.h is deprecated; include wpi/deprecated.h instead"
|
||||
#else
|
||||
#warning "support/deprecated.h is deprecated; include wpi/deprecated.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/deprecated.h"
|
||||
16
wpiutil/src/main/native/include/support/hostname.h
Normal file
16
wpiutil/src/main/native/include/support/hostname.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/hostname.h is deprecated; include wpi/hostname.h instead"
|
||||
#else
|
||||
#warning "support/hostname.h is deprecated; include wpi/hostname.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/hostname.h"
|
||||
16
wpiutil/src/main/native/include/support/jni_util.h
Normal file
16
wpiutil/src/main/native/include/support/jni_util.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/jni_util.h is deprecated; include wpi/jni_util.h instead"
|
||||
#else
|
||||
#warning "support/jni_util.h is deprecated; include wpi/jni_util.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/jni_util.h"
|
||||
16
wpiutil/src/main/native/include/support/json.h
Normal file
16
wpiutil/src/main/native/include/support/json.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/json.h is deprecated; include wpi/json.h instead"
|
||||
#else
|
||||
#warning "support/json.h is deprecated; include wpi/json.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/json.h"
|
||||
16
wpiutil/src/main/native/include/support/leb128.h
Normal file
16
wpiutil/src/main/native/include/support/leb128.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/leb128.h is deprecated; include wpi/leb128.h instead"
|
||||
#else
|
||||
#warning "support/leb128.h is deprecated; include wpi/leb128.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/leb128.h"
|
||||
16
wpiutil/src/main/native/include/support/mutex.h
Normal file
16
wpiutil/src/main/native/include/support/mutex.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/mutex.h is deprecated; include wpi/mutex.h instead"
|
||||
#else
|
||||
#warning "support/mutex.h is deprecated; include wpi/mutex.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/mutex.h"
|
||||
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/priority_condition_variable.h is deprecated; include wpi/priority_condition_variable.h instead"
|
||||
#else
|
||||
#warning "support/priority_condition_variable.h is deprecated; include wpi/priority_condition_variable.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/priority_condition_variable.h"
|
||||
16
wpiutil/src/main/native/include/support/priority_mutex.h
Normal file
16
wpiutil/src/main/native/include/support/priority_mutex.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/priority_mutex.h is deprecated; include wpi/priority_mutex.h instead"
|
||||
#else
|
||||
#warning "support/priority_mutex.h is deprecated; include wpi/priority_mutex.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/priority_mutex.h"
|
||||
16
wpiutil/src/main/native/include/support/raw_istream.h
Normal file
16
wpiutil/src/main/native/include/support/raw_istream.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/raw_istream.h is deprecated; include wpi/raw_istream.h instead"
|
||||
#else
|
||||
#warning "support/raw_istream.h is deprecated; include wpi/raw_istream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/raw_istream.h"
|
||||
16
wpiutil/src/main/native/include/support/raw_socket_istream.h
Normal file
16
wpiutil/src/main/native/include/support/raw_socket_istream.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/raw_socket_istream.h is deprecated; include wpi/raw_socket_istream.h instead"
|
||||
#else
|
||||
#warning "support/raw_socket_istream.h is deprecated; include wpi/raw_socket_istream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/raw_socket_istream.h"
|
||||
16
wpiutil/src/main/native/include/support/raw_socket_ostream.h
Normal file
16
wpiutil/src/main/native/include/support/raw_socket_ostream.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/raw_socket_ostream.h is deprecated; include wpi/raw_socket_ostream.h instead"
|
||||
#else
|
||||
#warning "support/raw_socket_ostream.h is deprecated; include wpi/raw_socket_ostream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/raw_socket_ostream.h"
|
||||
16
wpiutil/src/main/native/include/support/sha1.h
Normal file
16
wpiutil/src/main/native/include/support/sha1.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/sha1.h is deprecated; include wpi/sha1.h instead"
|
||||
#else
|
||||
#warning "support/sha1.h is deprecated; include wpi/sha1.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/sha1.h"
|
||||
16
wpiutil/src/main/native/include/support/timestamp.h
Normal file
16
wpiutil/src/main/native/include/support/timestamp.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: support/timestamp.h is deprecated; include wpi/timestamp.h instead"
|
||||
#else
|
||||
#warning "support/timestamp.h is deprecated; include wpi/timestamp.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/timestamp.h"
|
||||
16
wpiutil/src/main/native/include/tcpsockets/NetworkAcceptor.h
Normal file
16
wpiutil/src/main/native/include/tcpsockets/NetworkAcceptor.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: tcpsockets/NetworkAcceptor.h is deprecated; include wpi/NetworkAcceptor.h instead"
|
||||
#else
|
||||
#warning "tcpsockets/NetworkAcceptor.h is deprecated; include wpi/NetworkAcceptor.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/NetworkAcceptor.h"
|
||||
16
wpiutil/src/main/native/include/tcpsockets/NetworkStream.h
Normal file
16
wpiutil/src/main/native/include/tcpsockets/NetworkStream.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: tcpsockets/NetworkStream.h is deprecated; include wpi/NetworkStream.h instead"
|
||||
#else
|
||||
#warning "tcpsockets/NetworkStream.h is deprecated; include wpi/NetworkStream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/NetworkStream.h"
|
||||
16
wpiutil/src/main/native/include/tcpsockets/SocketError.h
Normal file
16
wpiutil/src/main/native/include/tcpsockets/SocketError.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: tcpsockets/SocketError.h is deprecated; include wpi/SocketError.h instead"
|
||||
#else
|
||||
#warning "tcpsockets/SocketError.h is deprecated; include wpi/SocketError.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/SocketError.h"
|
||||
16
wpiutil/src/main/native/include/tcpsockets/TCPAcceptor.h
Normal file
16
wpiutil/src/main/native/include/tcpsockets/TCPAcceptor.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: tcpsockets/TCPAcceptor.h is deprecated; include wpi/TCPAcceptor.h instead"
|
||||
#else
|
||||
#warning "tcpsockets/TCPAcceptor.h is deprecated; include wpi/TCPAcceptor.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/TCPAcceptor.h"
|
||||
16
wpiutil/src/main/native/include/tcpsockets/TCPConnector.h
Normal file
16
wpiutil/src/main/native/include/tcpsockets/TCPConnector.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: tcpsockets/TCPConnector.h is deprecated; include wpi/TCPConnector.h instead"
|
||||
#else
|
||||
#warning "tcpsockets/TCPConnector.h is deprecated; include wpi/TCPConnector.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/TCPConnector.h"
|
||||
16
wpiutil/src/main/native/include/tcpsockets/TCPStream.h
Normal file
16
wpiutil/src/main/native/include/tcpsockets/TCPStream.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: tcpsockets/TCPStream.h is deprecated; include wpi/TCPStream.h instead"
|
||||
#else
|
||||
#warning "tcpsockets/TCPStream.h is deprecated; include wpi/TCPStream.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/TCPStream.h"
|
||||
16
wpiutil/src/main/native/include/udpsockets/UDPClient.h
Normal file
16
wpiutil/src/main/native/include/udpsockets/UDPClient.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: udpsockets/UDPClient.h is deprecated; include wpi/UDPClient.h instead"
|
||||
#else
|
||||
#warning "udpsockets/UDPClient.h is deprecated; include wpi/UDPClient.h instead"
|
||||
#endif
|
||||
|
||||
#include "wpi/UDPClient.h"
|
||||
Reference in New Issue
Block a user