Make many more utility classes/headers public. (#76)

Moving these headers from src to include enables other libraries to use the
functionality provided.

* tcpsockets
* atomic_static
* raw_istream
* timestamp
* SafeThread
* Base64
* LEB128
* ConcurrentQueue

The classes have been moved into the wpi namespace as they're generic.
This commit is contained in:
Peter Johnson
2016-07-27 00:39:38 -07:00
committed by GitHub
parent d66f65e376
commit a73166a665
47 changed files with 361 additions and 259 deletions

View File

@@ -14,7 +14,7 @@
//
//===----------------------------------------------------------------------===//
#include "leb128.h"
#include "support/leb128.h"
#include "gtest/gtest.h"
@@ -24,9 +24,9 @@
#include "llvm/SmallString.h"
#include "llvm/StringRef.h"
#include "raw_istream.h"
#include "support/raw_istream.h"
namespace nt {
namespace wpi {
TEST(LEB128Test, WriteUleb128) {
#define EXPECT_ULEB128_EQ(EXPECTED, VALUE, PAD) \
@@ -111,4 +111,4 @@ TEST(LEB128Test, SizeUleb128) {
EXPECT_EQ(5u, SizeUleb128(UINT32_MAX));
}
} // namespace nt
} // namespace wpi