Home
last modified time | relevance | path

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

/external/clang/test/Sema/
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()
/external/llvm-project/clang/test/Sema/
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()
/external/javassist/src/main/javassist/compiler/ast/
DIntConst.java64 else if (type1 == TokenId.CharConstant in compute0()
65 && type2 == TokenId.CharConstant) in compute0()
66 newType = TokenId.CharConstant; in compute0()
/external/javassist/src/test/javassist/compiler/
DLexTest.java11 else if (t == CharConstant || t == IntConstant) in main()
/external/javassist/src/main/javassist/compiler/
DTokenId.java104 int CharConstant = 401; field
DParser.java884 case CharConstant : in parseUnaryExpr()
960 || t == IntConstant || t == CharConstant in nextIsClassCast()
1032 case CharConstant : in parsePostfix()
DLex.java187 return CharConstant; in readCharConst()
DTypeChecker.java1064 if (type == IntConstant || type == CharConstant) in atIntConst()
DCodeGen.java1974 if (type == IntConstant || type == CharConstant) { in atIntConst()