@@ -1937,13 +1937,6 @@ enum class ConstraintSystemFlags {
1937
1937
// / Set if the client wants diagnostics suppressed.
1938
1938
SuppressDiagnostics = 0x02 ,
1939
1939
1940
- // / If set, the client wants a best-effort solution to the constraint system,
1941
- // / but can tolerate a solution where all of the constraints are solved, but
1942
- // / not all type variables have been determined. In this case, the constraint
1943
- // / system is not applied to the expression AST, but the ConstraintSystem is
1944
- // / left in-tact.
1945
- AllowUnresolvedTypeVariables = 0x04 ,
1946
-
1947
1940
// / If set, verbose output is enabled for this constraint system.
1948
1941
// /
1949
1942
// / Note that this flag is automatically applied to all constraint systems,
@@ -1952,12 +1945,12 @@ enum class ConstraintSystemFlags {
1952
1945
// / \c DebugConstraintSolverAttempt. Finally, it can also be automatically
1953
1946
// / enabled for a pre-configured set of expressions on line numbers by setting
1954
1947
// / \c DebugConstraintSolverOnLines.
1955
- DebugConstraints = 0x08 ,
1948
+ DebugConstraints = 0x04 ,
1956
1949
1957
1950
// / If set, we are solving specifically to determine the type of a
1958
1951
// / CodeCompletionExpr, and should continue in the presence of errors wherever
1959
1952
// / possible.
1960
- ForCodeCompletion = 0x10 ,
1953
+ ForCodeCompletion = 0x08 ,
1961
1954
1962
1955
// / Include Clang function types when checking equality for function types.
1963
1956
// /
@@ -1968,16 +1961,16 @@ enum class ConstraintSystemFlags {
1968
1961
// / should be treated as semantically different, as they may have different
1969
1962
// / calling conventions, say due to Clang attributes such as
1970
1963
// / `__attribute__((ns_consumed))`.
1971
- UseClangFunctionTypes = 0x20 ,
1964
+ UseClangFunctionTypes = 0x10 ,
1972
1965
1973
1966
// / When set, ignore async/sync mismatches
1974
- IgnoreAsyncSyncMismatch = 0x40 ,
1967
+ IgnoreAsyncSyncMismatch = 0x20 ,
1975
1968
1976
1969
// / Disable macro expansions.
1977
- DisableMacroExpansions = 0x80 ,
1970
+ DisableMacroExpansions = 0x40 ,
1978
1971
1979
1972
// / Enable old type-checker performance hacks.
1980
- EnablePerformanceHacks = 0x100 ,
1973
+ EnablePerformanceHacks = 0x80 ,
1981
1974
};
1982
1975
1983
1976
// / Options that affect the constraint system as a whole.
0 commit comments