Home
last modified time | relevance | path

Searched refs:ShortConstant (Results 1 – 25 of 33) sorted by relevance

12

/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/impl/
H A DShortConstant.java13 public class ShortConstant extends Constant { class
18 return new ShortConstant(value); in fromValue()
21 private ShortConstant(short value) { in ShortConstant() method in ShortConstant
81 ShortConstant other = (ShortConstant) obj; in equals()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/
H A DShortConstant.java16 public class ShortConstant extends Constant { class
21 return new ShortConstant(value); in fromValue()
24 private ShortConstant(short value) { in ShortConstant() method in ShortConstant
96 ShortConstant other = (ShortConstant) obj; in equals()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/lang/clang-mesa/clang-13.0.1.src/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp46 typedef enum : short_t { ShortConstant = 0 } ShortEnum; enumerator
50 printf("%hhd", ShortConstant); // expected-warning{{format specifies type 'char'}} in testUnderlyingTypedef()
53 printf("%hd", ShortConstant); // no-warning in testUnderlyingTypedef()
57 printf("%d", ShortConstant); // no-warning in testUnderlyingTypedef()
60 printf("%lld", ShortConstant); // expected-warning{{format specifies type 'long long'}} in testUnderlyingTypedef()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/impl/
H A DShortConstant.java13 public class ShortConstant extends Constant { class
15 public ShortConstant(short value) { in ShortConstant() method in ShortConstant
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/nd/java/
H A DNdConstantShort.java17 import org.eclipse.jdt.internal.compiler.impl.ShortConstant;
58 return ShortConstant.fromValue(getValue()); in getConstant()
/dports/lang/mono/mono-5.10.1.57/mcs/mcs/
H A Dconstant.cs130 return new ShortConstant (t, (short) v, loc); in CreateConstantFromValue()
202 return new ShortConstant (t, (short) v, loc); in ExtractConstantFromValue()
633 return new ShortConstant (target_type, (short) Value, Location); in ConvertExplicitly()
767 return new ShortConstant (target_type, (short) Value, Location); in ConvertExplicitly()
859 return new ShortConstant (target_type, (short) Value, Location); in ConvertExplicitly()
893 public class ShortConstant : IntegralConstant { class
896 public ShortConstant (BuiltinTypes types, short v, Location loc) in ShortConstant() method in Mono.CSharp.ShortConstant
901 public ShortConstant (TypeSpec type, short v, Location loc) in ShortConstant() method in Mono.CSharp.ShortConstant
1087 return new ShortConstant (target_type, (short) Value, Location); in ConvertExplicitly()
1262 return new ShortConstant (target_type, (short) Value, loc); in TryImplicitIntConversion()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/
H A DConstantTest.java34 import org.eclipse.jdt.internal.compiler.impl.ShortConstant;
1143 Constant shortConstant = ShortConstant.fromValue((short) 4); in testAllConstants()
1144 Constant shortConstant2 = ShortConstant.fromValue((short) 3); in testAllConstants()
1145 Constant shortConstant3 = ShortConstant.fromValue((short) 4); in testAllConstants()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/classfmt/
H A DFieldInfo.java24 import org.eclipse.jdt.internal.compiler.impl.ShortConstant;
234 constant = new ShortConstant((short) i4At(relativeOffset + 1)); in readConstantAttribute()
/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/classfmt/
H A DAnnotationInfo.java99 value = ShortConstant.fromValue((short) i4At(constValueOffset + 1)); in decodeDefaultValue()
H A DFieldInfo.java342 this.constant = ShortConstant.fromValue((short) i4At(relativeOffset + 1)); in readConstantAttribute()

12