File tree Expand file tree Collapse file tree 12 files changed +16
-15
lines changed Expand file tree Collapse file tree 12 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
5
- // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See https://swift.org/LICENSE.txt for license information
9
9
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
10
//
11
11
// ===----------------------------------------------------------------------===//
12
12
//
13
- // This macro is used to map the global definition name of a semantic attribute to its raw value.
13
+ // This macro is used to map the global definition name of a semantic
14
+ // attribute to its raw value.
14
15
// NAME: the global name used in the compiler
15
16
// C_STR: the raw value used in swift
16
17
//
Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
5
- // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See https://swift.org/LICENSE.txt for license information
11
11
// ===----------------------------------------------------------------------===//
12
12
//
13
13
// Implementation of the matching definition file.
14
- // This file holds all semantics attributes as consant stirng literals.
14
+ // This file holds all semantics attributes as constant string literals.
15
15
//
16
16
// ===----------------------------------------------------------------------===//
17
17
22
22
23
23
namespace swift {
24
24
#define SEMA_ATTR (NAME, C_STR ) constexpr static const StringLiteral NAME = #C_STR;
25
- #include " Semantics .def"
25
+ #include " SemanticAttrs .def"
26
26
}
27
27
28
28
#endif
Original file line number Diff line number Diff line change 21
21
#include " swift/SIL/SILBuilder.h"
22
22
#include " swift/SIL/SILInstruction.h"
23
23
#include " swift/SIL/SILArgument.h"
24
- #include " swift/Basic/Semantics .h"
24
+ #include " swift/AST/SemanticAttrs .h"
25
25
26
26
#include " IRGenModule.h"
27
27
#include " NonFixedTypeInfo.h"
Original file line number Diff line number Diff line change 13
13
#include " swift/SILOptimizer/Analysis/ColdBlockInfo.h"
14
14
#include " swift/SILOptimizer/Analysis/DominanceAnalysis.h"
15
15
#include " swift/SIL/SILArgument.h"
16
- #include " swift/Basic/Semantics .h"
16
+ #include " swift/AST/SemanticAttrs .h"
17
17
18
18
using namespace swift ;
19
19
Original file line number Diff line number Diff line change 77
77
#include " swift/AST/Module.h"
78
78
#include " swift/AST/SubstitutionMap.h"
79
79
#include " swift/Basic/OptimizationMode.h"
80
- #include " swift/Basic/Semantics .h"
80
+ #include " swift/AST/SemanticAttrs .h"
81
81
#include " swift/Demangling/Demangle.h"
82
82
#include " swift/Demangling/Demangler.h"
83
83
#include " swift/SIL/BasicBlockUtils.h"
Original file line number Diff line number Diff line change 16
16
#include " swift/AST/Module.h"
17
17
#include " swift/AST/SubstitutionMap.h"
18
18
#include " swift/Basic/Range.h"
19
- #include " swift/Basic/Semantics .h"
19
+ #include " swift/AST/SemanticAttrs .h"
20
20
#include " swift/SIL/DebugUtils.h"
21
21
#include " swift/SIL/DynamicCasts.h"
22
22
#include " swift/SIL/InstructionUtils.h"
Original file line number Diff line number Diff line change 12
12
13
13
#define DEBUG_TYPE " objectoutliner"
14
14
#include " swift/AST/ASTMangler.h"
15
- #include " swift/Basic/Semantics .h"
15
+ #include " swift/AST/SemanticAttrs .h"
16
16
#include " swift/SIL/DebugUtils.h"
17
17
#include " swift/SIL/SILBuilder.h"
18
18
#include " swift/SILOptimizer/PassManager/Transforms.h"
Original file line number Diff line number Diff line change 12
12
13
13
#define DEBUG_TYPE " sil-inliner"
14
14
#include " swift/AST/Module.h"
15
- #include " swift/Basic/Semantics .h"
15
+ #include " swift/AST/SemanticAttrs .h"
16
16
#include " swift/SIL/MemAccessUtils.h"
17
17
#include " swift/SIL/OptimizationRemark.h"
18
18
#include " swift/SILOptimizer/Analysis/SideEffectAnalysis.h"
Original file line number Diff line number Diff line change 16
16
#include " swift/AST/SubstitutionMap.h"
17
17
#include " swift/Basic/Defer.h"
18
18
#include " swift/Basic/NullablePtr.h"
19
- #include " swift/Basic/Semantics .h"
19
+ #include " swift/AST/SemanticAttrs .h"
20
20
#include " swift/Demangling/Demangle.h"
21
21
#include " swift/SIL/ApplySite.h"
22
22
#include " swift/SIL/FormalLinkage.h"
Original file line number Diff line number Diff line change 14
14
15
15
#include " swift/AST/DiagnosticsSIL.h"
16
16
#include " swift/AST/Expr.h"
17
- #include " swift/Basic/Semantics .h"
17
+ #include " swift/AST/SemanticAttrs .h"
18
18
#include " swift/SIL/InstructionUtils.h"
19
19
#include " swift/SIL/PatternMatch.h"
20
20
#include " swift/SIL/SILBuilder.h"
Original file line number Diff line number Diff line change 17
17
#include " swift/AST/TypeMatcher.h"
18
18
#include " swift/AST/DiagnosticEngine.h"
19
19
#include " swift/AST/DiagnosticsSIL.h"
20
- #include " swift/Basic/Semantics .h"
20
+ #include " swift/AST/SemanticAttrs .h"
21
21
#include " swift/Basic/Statistic.h"
22
22
#include " swift/AST/TypeCheckRequests.h"
23
23
#include " swift/Serialization/SerializedSILLoader.h"
Original file line number Diff line number Diff line change 13
13
#include " swift/SILOptimizer/Utils/InstOptUtils.h"
14
14
#include " swift/AST/GenericSignature.h"
15
15
#include " swift/AST/SubstitutionMap.h"
16
- #include " swift/Basic/Semantics .h"
16
+ #include " swift/AST/SemanticAttrs .h"
17
17
#include " swift/SIL/BasicBlockUtils.h"
18
18
#include " swift/SIL/DebugUtils.h"
19
19
#include " swift/SIL/DynamicCasts.h"
You can’t perform that action at this time.
0 commit comments