Home
last modified time | relevance | path

Searched refs:CharConstant (Results 1 – 25 of 55) sorted by relevance

123

/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/impl/
H A DCharConstant.java13 public class CharConstant extends Constant { class
18 return new CharConstant(value); in fromValue()
21 private CharConstant(char value) { in CharConstant() method in CharConstant
80 CharConstant other = (CharConstant) 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 DCharConstant.java16 public class CharConstant extends Constant { class
21 return new CharConstant(value); in fromValue()
24 private CharConstant(char value) { in CharConstant() method in CharConstant
95 CharConstant other = (CharConstant) 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.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); // expected-warning{{format specifies type 'short'}} in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/lang/clang-mesa/clang-13.0.1.src/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); // expected-warning{{format specifies type 'short'}} in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp74 typedef enum : char { CharConstant = 'a' } CharEnum; enumerator
80 printf("%hhd", CharConstant); // no-warning in testChar()
84 printf("%hd", CharConstant); // expected-warning{{format specifies type 'short'}} in testChar()
88 printf("%d", CharConstant); // no-warning in testChar()
91 printf("%lld", CharConstant); // expected-warning{{format specifies type 'long long'}} in testChar()
/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 DCharConstant.java13 public class CharConstant extends Constant { class
17 public CharConstant(char value) { in CharConstant() method in CharConstant
/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 DNdConstantChar.java16 import org.eclipse.jdt.internal.compiler.impl.CharConstant;
58 return CharConstant.fromValue(getValue()); in getConstant()
/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/ast/
H A DCharLiteral.java32 this.constant = CharConstant.fromValue(this.value); in computeConstant()
72 this.constant = CharConstant.fromValue(this.value = (char) number); in computeValue()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/
H A DCharLiteral.java36 this.constant = CharConstant.fromValue(this.value); in computeConstant()
79 this.constant = CharConstant.fromValue(this.value = (char) number); in computeValue()
/dports/lang/mono/mono-5.10.1.57/mcs/mcs/
H A Dconstant.cs138 return new CharConstant (t, (char) v, loc); in CreateConstantFromValue()
218 return new CharConstant (t, (char) v, loc); in ExtractConstantFromValue()
649 return new CharConstant (target_type, (char) Value, Location); in ConvertExplicitly()
659 public class CharConstant : Constant { class
662 public CharConstant (BuiltinTypes types, char v, Location loc) in CharConstant() method in Mono.CSharp.CharConstant
667 public CharConstant (TypeSpec type, char v, Location loc) in CharConstant() method in Mono.CSharp.CharConstant
883 return new CharConstant (target_type, (char) Value, Location); in ConvertExplicitly()
995 return new CharConstant (target_type, (char) Value, Location); in ConvertExplicitly()
1105 return new CharConstant (target_type, (char) Value, Location); in ConvertExplicitly()
1224 return new CharConstant (target_type, (char) Value, Location); in ConvertExplicitly()
[all …]
/dports/lang/cocor/cocor-1.7_3/samples/
H A Doberon.atg21 CharConstant = digit { hexDigit } "X" .
51 factor = number | CharConstant | string | "NIL" | set
/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.java28 import org.eclipse.jdt.internal.compiler.impl.CharConstant;
1125 Constant charConstant = CharConstant.fromValue('c'); in testAllConstants()
1126 Constant charConstant2 = CharConstant.fromValue('d'); in testAllConstants()
1127 Constant charConstant3 = CharConstant.fromValue('c'); in testAllConstants()

123