The log for building https://github.com/apple/swift
$ mkdir swift-project
$ cd swift-project/
$ ls -lt
$ git clone https://github.com/apple/swift.git swift
$ ls
namespace clang { | |
namespace detail { | |
template <typename T, typename U> | |
struct has_same_member_pointer_type : std::false_type {}; | |
template <typename T, typename U, typename R, typename... P> | |
struct has_same_member_pointer_type<R (T::*)(P...), R (U::*)(P...)> | |
: std::true_type {}; | |
template <bool has_same_type> struct is_same_method_impl { | |
template <typename FirstMethodPtrTy, typename SecondMethodPtrTy> | |
static bool isSameMethod(FirstMethodPtrTy FirstMethodPtr, |
#include "oclint/CompilerInstance.h" | |
#include <clang/Basic/TargetInfo.h> | |
#include <clang/Frontend/FrontendActions.h> | |
#include <clang/StaticAnalyzer/Frontend/FrontendActions.h> | |
#include "oclint/Options.h" | |
using namespace oclint; |
/*- | |
* This code is derived from | |
* http://llvm.org/svn/llvm-project/cfe/trunk/lib/Tooling/Tooling.cpp | |
* with the following license: | |
* | |
* University of Illinois/NCSA | |
* Open Source License | |
* | |
* Copyright (c) 2003-2013 University of Illinois at Urbana-Champaign. | |
* All rights reserved. |
// Inner Reference Type | |
final internal class CoWInnerClass { | |
var identifier: Int | |
init(_ id: Int) { | |
identifier = id | |
} | |
} | |
// The struct with inner reference type. | |
struct CoWValueWithRef: CustomStringConvertible { |
// | |
// Producer.swift | |
// RxSwift | |
// | |
// Created by Krunoslav Zaher on 2/20/15. | |
// Copyright © 2015 Krunoslav Zaher. All rights reserved. | |
// | |
class Producer<Element> : Observable<Element> { | |
override init() { |
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ | |
|* *| | |
|* Option Parsing Definitions *| | |
|* *| | |
|* Automatically generated file, do not edit! *| | |
|* *| | |
\*===----------------------------------------------------------------------===*/ | |
///////// | |
// Prefixes |
The log for building https://github.com/apple/swift
$ mkdir swift-project
$ cd swift-project/
$ ls -lt
$ git clone https://github.com/apple/swift.git swift
$ ls
/// RxSwift/RxCocoa: 5.1.1 | |
/// DelegateProxyType.swift | |
public protocol DelegateProxyType: class { | |
associatedtype ParentObject: AnyObject | |
associatedtype Delegate | |
/// ... ... | |
} | |
// default implementations |
#! /bin/bash | |
############################################### | |
# Export env via shell script: source ./setupEnvShellScript.sh | |
# $source ./setupEnvForGoWorkspace.sh | |
# | |
################################################ | |
################ Export GOPATH ############## | |
PWD=`pwd` |
#!/bin/bash | |
if [ $# -ne 3 ]; then | |
echo "The number of arguments must be 3" | |
exit 1 | |
else | |
echo "Finding..." | |
fi | |
DIRECTORY=$1 |