HomeSort by relevance Sort by last modified time
    Searched defs:Literal (Results 1 - 12 of 12) sorted by null

  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p6.cpp 16 struct Literal {
17 constexpr Literal() {}
46 constexpr ConstexprCtor(P...); // expected-note {{constructor template instantiation is not constexpr because 1st parameter type 'NonLiteral' is not a literal type}} \
47 expected-note {{constructor template instantiation is not constexpr because 2nd parameter type 'NonLiteral' is not a literal type}}
51 constexpr ConstexprCtor<NonLiteral> f3(); // expected-error {{not a literal type}}
52 constexpr ConstexprCtor<int, NonLiteral> f4(); // expected-error {{not a literal type}}
57 template<typename T> struct T1 : virtual Literal { // expected-note {{here}}
61 template<typename T> struct T2 : virtual T { // expected-note {{struct with virtual base class is not a literal type}} expected-note {{here}}
66 constexpr T2<Literal> g2(); // expected-error {{not a literal type}
    [all...]
p3.cpp 15 struct Literal {
16 constexpr Literal() {}
33 struct T : SS { // expected-note {{base class 'SS' of non-literal type}}
34 constexpr T(); // expected-error {{non-literal type 'T' cannot have constexpr members}}
41 // - its return type shall be a literal type;
42 constexpr NonLiteral NonLiteralReturn(); // expected-error {{constexpr function's return type 'NonLiteral' is not a literal type}}
45 constexpr F NonLiteralReturn2; // expected-error {{constexpr function's return type 'NonLiteral' is not a literal type}}
47 // - each of its parameter types shall be a literal type;
48 constexpr int NonLiteralParam(NonLiteral); // expected-error {{constexpr function's 1st parameter type 'NonLiteral' is not a literal type}}
50 constexpr G NonLiteralParam2; // expected-error {{constexpr function's 1st parameter type 'NonLiteral' is not a literal type}
    [all...]
p4.cpp 15 struct Literal {
16 constexpr Literal() {}
25 // shall be a literal type.
28 constexpr S(int, NonLiteral, N::C); // expected-error {{constexpr constructor's 2nd parameter type 'NonLiteral' is not a literal type}}
29 constexpr S(int, NonLiteral = 42); // expected-error {{constexpr constructor's 2nd parameter type 'NonLiteral' is not a literal type}}
33 constexpr S(Literal) = delete;
165 Literal l;
166 Literal m;
167 Literal n[3];
177 Literal l
    [all...]
  /bootable/recovery/edify/
expr.c 323 Value* Literal(const char* name, State* state, int argc, Expr* argv[]) {
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
XPathParser.java     [all...]
  /external/clang/lib/CodeGen/
CGExprConstant.cpp 925 const StringLiteral *Literal = cast<StringLiteral>(Arg);
928 return CGM.getObjCRuntime().GenerateConstantString(Literal);
    [all...]
  /external/clang/lib/Sema/
SemaStmt.cpp     [all...]
SemaChecking.cpp 93 /// annotation is a non wide string literal.
96 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
97 if (!Literal || !Literal->isAscii()) {
864 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
866 if (!Literal || !Literal->isAscii()) {
872 if (Literal->containsNonAsciiOrNull()) {
873 StringRef String = Literal->getString();
    [all...]
SemaExpr.cpp     [all...]
  /external/icu4c/test/intltest/
wbnf.cpp 411 } else { //if (isAlphabet(c) || isDigit(c) || TRUE){ // treat others as literal
425 char * operator()(const char * literal /*c-string*/){
427 for(;*literal != 0; literal++){
428 append(*literal);
506 class Literal : public Pick {
511 Literal(const char * s /*c-string*/){
919 default: token.append(c); // unknown escaping, treat it as literal
    [all...]
  /external/v8/src/
ast.h 78 V(Literal) \
252 // True iff the expression is a literal represented as a smi.
474 // True if there is a function literal subexpression in the condition.
520 // True if there is a function literal subexpression in the condition.
839 class Literal: public Expression {
841 explicit Literal(Handle<Object> handle) : handle_(handle) { }
843 DECLARE_NODE_TYPE(Literal)
848 // Check if this literal is identical to the other literal.
849 bool IsIdenticalTo(const Literal* other) const
    [all...]
  /prebuilt/common/ecj/
ecj.jar 

Completed in 231 milliseconds