Skip to content

Commit 3d67009

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents 6238289 + 758f6e0 commit 3d67009

File tree

6 files changed

+6
-144
lines changed

6 files changed

+6
-144
lines changed

lib/IRGen/SwitchBuilder.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,9 @@ class SwitchSwitchBuilder final : public SwitchBuilder {
165165
}
166166
};
167167

168-
std::unique_ptr<SwitchBuilder> SwitchBuilder::create(IRGenFunction &IGF,
169-
llvm::Value *Subject,
170-
SwitchDefaultDest Default,
171-
unsigned NumCases) {
168+
inline std::unique_ptr<SwitchBuilder>
169+
SwitchBuilder::create(IRGenFunction &IGF, llvm::Value *Subject,
170+
SwitchDefaultDest Default, unsigned NumCases) {
172171
// Pick a builder based on how many total reachable destinations we intend
173172
// to have.
174173
switch (NumCases + (Default.getInt() == IsNotUnreachable)) {

utils/build-overlay

Lines changed: 0 additions & 41 deletions
This file was deleted.

utils/build-script

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,8 @@ def main_preset():
923923
"--distcc",
924924
help="use distcc",
925925
action=argparse.actions.StoreTrueAction,
926-
nargs=argparse.Nargs.OPTIONAL)
926+
nargs=argparse.Nargs.OPTIONAL,
927+
default=os.environ.get('USE_DISTCC') == '1')
927928
parser.add_argument(
928929
"--cmake-c-launcher",
929930
help="the absolute path to set CMAKE_C_COMPILER_LAUNCHER",

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ def create_argument_parser():
400400
option('--host-libtool', store_path(executable=True),
401401
help='the absolute path to libtool. Default is auto detected.')
402402
option('--distcc', toggle_true,
403+
default=os.environ.get('USE_DISTCC') == '1',
403404
help='use distcc in pump mode')
404405
option('--enable-asan', toggle_true,
405406
help='enable Address Sanitizer')

utils/error_enum_to_cases.pl

Lines changed: 0 additions & 79 deletions
This file was deleted.

utils/guard-malloc-swift

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)