You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
1
external/llvm/lib/Testing/CMakeLists.txt
vendored
1
external/llvm/lib/Testing/CMakeLists.txt
vendored
@ -1 +0,0 @@
|
||||
add_subdirectory(Support)
|
19
external/llvm/lib/Testing/LLVMBuild.txt
vendored
19
external/llvm/lib/Testing/LLVMBuild.txt
vendored
@ -1,19 +0,0 @@
|
||||
;===- ./lib/Testing/LLVMBuild.txt ------------------------------*- Conf -*--===;
|
||||
;
|
||||
; The LLVM Compiler Infrastructure
|
||||
;
|
||||
; This file is distributed under the University of Illinois Open Source
|
||||
; License. See LICENSE.TXT for details.
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; This is an LLVMBuild description file for the components in this subdirectory.
|
||||
;
|
||||
; For more information on the LLVMBuild system, please see:
|
||||
;
|
||||
; http://llvm.org/docs/LLVMBuild.html
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[common]
|
||||
subdirectories = Support
|
15
external/llvm/lib/Testing/Support/CMakeLists.txt
vendored
15
external/llvm/lib/Testing/Support/CMakeLists.txt
vendored
@ -1,15 +0,0 @@
|
||||
add_definitions(-DGTEST_LANG_CXX11=1)
|
||||
add_definitions(-DGTEST_HAS_TR1_TUPLE=0)
|
||||
|
||||
add_llvm_library(LLVMTestingSupport
|
||||
Error.cpp
|
||||
|
||||
BUILDTREE_ONLY
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
|
||||
)
|
||||
|
||||
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
|
||||
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googlemock/include)
|
||||
target_link_libraries(LLVMTestingSupport PRIVATE gtest)
|
22
external/llvm/lib/Testing/Support/Error.cpp
vendored
22
external/llvm/lib/Testing/Support/Error.cpp
vendored
@ -1,22 +0,0 @@
|
||||
//===- llvm/Testing/Support/Error.cpp -------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Testing/Support/Error.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err) {
|
||||
bool Succeeded = !static_cast<bool>(Err);
|
||||
std::string Message;
|
||||
if (!Succeeded)
|
||||
Message = toString(std::move(Err));
|
||||
return {Succeeded, Message};
|
||||
}
|
23
external/llvm/lib/Testing/Support/LLVMBuild.txt
vendored
23
external/llvm/lib/Testing/Support/LLVMBuild.txt
vendored
@ -1,23 +0,0 @@
|
||||
;===- ./Testing/Support/LLVMBuild.txt --------------------------*- Conf -*--===;
|
||||
;
|
||||
; The LLVM Compiler Infrastructure
|
||||
;
|
||||
; This file is distributed under the University of Illinois Open Source
|
||||
; License. See LICENSE.TXT for details.
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; This is an LLVMBuild description file for the components in this subdirectory.
|
||||
;
|
||||
; For more information on the LLVMBuild system, please see:
|
||||
;
|
||||
; http://llvm.org/docs/LLVMBuild.html
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
name = TestingSupport
|
||||
parent = Libraries
|
||||
required_libraries = Support
|
||||
installed = 0
|
Reference in New Issue
Block a user