/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p4.cpp | 15 struct Literal { 16 constexpr Literal() {} 17 explicit Literal(int); // expected-note 2 {{here}} 22 // shall be a literal type. 25 constexpr S(int, NonLiteral, N::C) {} // expected-error {{constexpr constructor's 2nd parameter type 'NonLiteral' is not a literal type}} 26 constexpr S(int, NonLiteral = 42) {} // expected-error {{constexpr constructor's 2nd parameter type 'NonLiteral' is not a literal type}} 30 constexpr S(Literal) = delete; 172 Literal l; 173 Literal m; 174 Literal n[3] [all...] |
p6.cpp | 16 struct Literal { 17 constexpr Literal() {} 51 template<typename T> struct T1 : virtual Literal { // expected-note {{here}} 60 constexpr T2<Literal> g2() { return {}; } 62 template<typename T> class T3 : public T { // expected-note {{class with virtual base class is not a literal type}} 66 constexpr T3<Literal> g3() { return {}; } // ok 67 constexpr T3<VirtBase> g4() { return {}; } // expected-error {{not a literal type}}
|
p3.cpp | 15 struct Literal { 16 constexpr Literal() {} 29 struct T : SS, NonLiteral { // expected-note {{base class 'NonLiteral' of non-literal type}} 31 constexpr int f(); // expected-error {{non-literal type 'T' cannot have constexpr members}} 38 // - its return type shall be a literal type; 39 constexpr NonLiteral NonLiteralReturn() { return {}; } // expected-error {{constexpr function's return type 'NonLiteral' is not a literal type}} 40 constexpr void VoidReturn() { return; } // expected-error {{constexpr function's return type 'void' is not a literal type}} 45 // - each of its parameter types shall be a literal type; 46 constexpr int NonLiteralParam(NonLiteral) { return 0; } // expected-error {{constexpr function's 1st parameter type 'NonLiteral' is not a literal type}} 55 // don't have a literal return type. Defaulted assignment operators can't b [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/clang/lib/Lex/ |
PPExpressions.cpp | 207 NumericLiteralParser Literal(Spelling.begin(), Spelling.end(), 209 if (Literal.hadError) 212 if (Literal.isFloatingLiteral() || Literal.isImaginary) { 216 assert(Literal.isIntegerLiteral() && "Unknown ppnumber"); 219 if (Literal.hasUDSuffix()) 223 if (!PP.getLangOpts().C99 && Literal.isLongLong) 227 // Parse the integer literal into Result. 228 if (Literal.GetIntegerValue(Result.Val)) { 229 // Overflow parsing integer literal [all...] |
Pragma.cpp | 221 // "The string literal is destringized by deleting the L prefix, if present, 269 /// is not enclosed within a string literal. 521 StringLiteralParser Literal(&StrToks[0], StrToks.size(), *this); 522 assert(Literal.isAscii() && "Didn't allow wide strings in"); 523 if (Literal.hadError) 525 if (Literal.Pascal) { 530 ArgumentString = Literal.GetString(); 599 StringLiteralParser Literal(&StrToks[0], StrToks.size(), *this); 600 assert(Literal.isAscii() && "Didn't allow wide strings in"); 601 if (Literal.hadError [all...] |
PPDirectives.cpp | 831 StringLiteralParser Literal(&StrTok, 1, *this); 832 assert(Literal.isAscii() && "Didn't allow wide strings in"); 833 if (Literal.hadError) 835 if (Literal.Pascal) { 839 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); [all...] |
PPMacroExpansion.cpp | [all...] |
/external/clang/test/CXX/expr/expr.const/ |
p2-0x.cpp | 21 // literal class or a constexpr function [ Note: Overload resolution (13.3) 287 // with a constant expression [Note: a string literal (2.14.5 [lex.string]) 296 // - a non-volatile glvalue of literal type that refers to a non-volatile 301 volatile int v; // expected-note {{not literal because}} 303 constexpr V v; // expected-error {{non-literal type}} 320 // - a non-volatile glvalue of literal type that refers to a non-volatile 541 struct Literal { 542 constexpr Literal(const char *name) : name(name) {} 546 constexpr Expr(Literal l) : IsLiteral(true), l(l) {} 549 Literal l [all...] |
/bootable/recovery/edify/ |
expr.h | 80 // Glue to make an Expr out of a literal. 81 Value* Literal(const char* name, State* state, int argc, Expr* argv[]);
|
parser.y | 70 $$->fn = Literal;
|
/external/v8/src/ |
ast.cc | 174 ObjectLiteral::Property::Property(Literal* key, 246 ZoneHashMap table(Literal::Match); 249 Literal* literal = property->key(); local 250 if (literal->handle()->IsNull()) continue; 251 uint32_t hash = literal->Hash(); 255 table.Lookup(literal, hash, false) != NULL) { 259 table.Lookup(literal, hash, true); 317 // Check for the pattern: typeof <expression> equals <string literal>. 347 // Check for the pattern: void <literal> equals <expression [all...] |
full-codegen.h | 383 // Try to perform a comparison as a fast inlined literal compare if 389 // a given literal string. 629 // location, as a literal, or on top of the stack) into the result 810 class AccessorTable: public TemplateHashMap<Literal, 815 TemplateHashMap<Literal, 817 ZoneListAllocationPolicy>(Literal::Match), 820 Iterator lookup(Literal* literal) { 821 Iterator it = find(literal, true);
|
ast.h | 99 V(Literal) \ 332 // True iff the expression is a literal represented as a smi. 335 // True iff the expression is a string literal. 338 // True iff the expression is the null literal. 785 // True if there is a function literal subexpression in the condition. 843 // True if there is a function literal subexpression in the condition. 1210 class Literal: public Expression { 1212 DECLARE_NODE_TYPE(Literal) [all...] |
prettyprinter.cc | 297 void PrettyPrinter::VisitLiteral(Literal* node) { 355 Literal* literal = key->AsLiteral(); local 356 if (literal != NULL && literal->handle()->IsSymbol()) { 360 PrintLiteral(literal->handle(), false); 564 Print("<unknown literal %p>", object); 933 IndentedScope indent(this, "FUNC LITERAL"); 937 // We don't want to see the function literal in this case: it 946 IndentedScope indent(this, "FUNC LITERAL"); 1054 Literal* literal = node->key()->AsLiteral(); local [all...] |
parser.h | 170 // function literal. Returns false (and deallocates any allocated AST 346 // Reports whether the pattern might be used as a literal search string. 518 // Used to assign an index to each literal that needs materialization in 646 // literal. 654 // Populate the literals fixed array for a materialized array literal. 662 // If the expression is a literal, return the literal value; 663 // if the expression is a materialized literal and is simple return a 665 // Otherwise, return undefined literal as the placeholder 666 // in the object literal boilerplate [all...] |
/external/regex-re2/re2/ |
prefilter.cc | 209 static Info* Literal(Rune r); 393 // Constructs Info for literal rune. 394 Prefilter::Info* Prefilter::Info::Literal(Rune r) { 527 info = Literal(re->rune()); 535 info = Literal(re->runes()[0]); 537 info = Concat(info, Literal(re->runes()[i]));
|
compile.cc | 208 Frag Literal(Rune r, bool foldcase); 689 Frag Compiler::Literal(Rune r, bool foldcase) { 763 return Literal(re->rune(), re->parse_flags()&Regexp::FoldCase); 771 Frag f1 = Literal(re->runes()[i], re->parse_flags()&Regexp::FoldCase); [all...] |
regexp.h | 274 Literal = 1<<1, // Treat s as literal string instead of a regexp. 477 // Simplifies an alternation of literal strings by factoring out 565 Rune rune_; // Literal
|
/external/clang/lib/Sema/ |
SemaExpr.cpp | [all...] |
SemaStmt.cpp | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.commons.el_1.0.0.v201004212143.jar | |
/external/clang/lib/CodeGen/ |
CodeGenModule.cpp | [all...] |
CodeGenModule.h | 588 /// getGenericBlockLiteralType - The type of a generic block literal. 597 llvm::Constant *GetAddrOfConstantCFString(const StringLiteral *Literal); 602 llvm::Constant *GetAddrOfConstantString(const StringLiteral *Literal); 609 /// for the given string literal. 617 /// containing the literal. This contents are exactly that of the given 631 /// containing the literal and a terminating '\0' character. The result has 641 /// variable for the given file-scope compound literal expression. [all...] |
/external/clang/lib/Parse/ |
ParseExprCXX.cpp | [all...] |