/external/llvm/include/llvm/ADT/ |
StringSwitch.h | 32 /// .Case("red", Red) 33 /// .Case("orange", Orange) 34 /// .Case("yellow", Yellow) 35 /// .Case("green", Green) 36 /// .Case("blue", Blue) 37 /// .Case("indigo", Indigo) 55 StringSwitch& Case(const char (&S)[N], const T& Value) { 87 return Case(S0, Value).Case(S1, Value); 93 return Case(S0, Value).Case(S1, Value).Case(S2, Value) [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-non-type-template-parameter.cpp | 8 void Case(const char (&S)[N], const int & Value) {
|
/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 86 std::string &Case, CodeGenTarget &Target) { 131 Case += " // op: " + VarName + "\n" + 134 Case += ", Fixups"; 135 Case += ");\n"; 138 Case += " // op: " + VarName + "\n" + 141 Case += ", Fixups"; 142 Case += ");\n"; 172 Case += " Value |= (op & " + utostr(opMask) + "U) << " + 175 Case += " Value |= (op & " + utostr(opMask) + "U) >> " + 178 Case += " Value |= op & " + utostr(opMask) + "U;\n" [all...] |
/frameworks/base/tools/aidl/ |
AST.cpp | 583 Case::Case() 588 Case::Case(const string& c) 594 Case::~Case() 599 Case::Write(FILE* to) 606 fprintf(to, "case %s:\n", s.c_str());
|
AST.h | 274 struct Case 279 Case(); 280 Case(const string& c); 281 virtual ~Case(); 288 vector<Case*> cases;
|
/external/clang/test/Index/ |
recursive-cxx-member-calls.cpp | 88 template < unsigned N > StringSwitch & Case(const char (&S)[N], 106 .Case("weak", AT_weak) 107 .Case("weakref", AT_weakref) 108 .Case("pure", AT_pure) 109 .Case("mode", AT_mode) 110 .Case("used", AT_used) 111 .Case("alias", AT_alias) 112 .Case("align", AT_aligned) 113 .Case("final", AT_final) 114 .Case("cdecl", AT_cdecl [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 129 /// Case - A struct to record the Value for a switch case, and the 130 /// case's target basic block. 131 struct Case { 137 Case() : Low(0), High(0), BB(0), ExtraWeight(0) { } 138 Case(Constant* low, Constant* high, MachineBasicBlock* bb, 158 typedef std::vector<Case> CaseVector; 172 /// LT, GE - If nonzero, we know the current case value must be less-than or 176 /// Range - A pair of iterators representing the range of case values to be 183 /// The comparison function for sorting the switch case values in the vector [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 72 case Stmt::NoStmtClass: 73 case Stmt::CXXCatchStmtClass: 74 case Stmt::SEHExceptStmtClass: 75 case Stmt::SEHFinallyStmtClass: 77 case Stmt::NullStmtClass: 78 case Stmt::CompoundStmtClass: 79 case Stmt::DeclStmtClass: 80 case Stmt::LabelStmtClass: 81 case Stmt::GotoStmtClass: 82 case Stmt::BreakStmtClass [all...] |
/external/clang/lib/Parse/ |
ParseStmt.cpp | 52 /// 'case' constant-expression ':' statement 89 // the token to end in a semicolon (in which case SemiError should be set), 95 case tok::at: // May be a @try or @throw statement 101 case tok::code_completion: 106 case tok::identifier: { 125 case Sema::NC_Keyword: 138 case Sema::NC_Error: 146 case Sema::NC_Unknown: 151 case Sema::NC_Type: 158 case Sema::NC_Expression [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngine.cpp | 202 case CFGElement::Invalid: 204 case CFGElement::Statement: 207 case CFGElement::Initializer: 211 case CFGElement::AutomaticObjectDtor: 212 case CFGElement::BaseDtor: 213 case CFGElement::MemberDtor: 214 case CFGElement::TemporaryDtor: 382 case CFGElement::AutomaticObjectDtor: 385 case CFGElement::BaseDtor: 388 case CFGElement::MemberDtor [all...] |
BugReporter.cpp | 74 case Stmt::ChooseExprClass: 75 case Stmt::BinaryConditionalOperatorClass: continue; 76 case Stmt::ConditionalOperatorClass: continue; 77 case Stmt::BinaryOperatorClass: { 221 case Stmt::ForStmtClass: 222 case Stmt::DoStmtClass: 223 case Stmt::WhileStmtClass: 246 case Stmt::BinaryOperatorClass: { 252 case Stmt::CompoundStmtClass: 253 case Stmt::StmtExprClass [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyCFG.cpp | 150 // reality, we could transform this case, but since the condition will be 210 /// don't handle the true generality of domination here, just a special case 267 case Instruction::Load: 275 case Instruction::GetElementPtr: 281 case Instruction::Add: 282 case Instruction::Sub: 283 case Instruction::And: 284 case Instruction::Or: 285 case Instruction::Xor: 286 case Instruction::Shl [all...] |
/external/clang/lib/Sema/ |
SemaCodeComplete.cpp | 61 /// a single (declaration, index) mapping (the common case) but 176 case CodeCompletionContext::CCC_Expression: 177 case CodeCompletionContext::CCC_ObjCMessageReceiver: 178 case CodeCompletionContext::CCC_ParenthesizedExpression: 179 case CodeCompletionContext::CCC_Statement: 180 case CodeCompletionContext::CCC_Recovery: 579 case Type::Builtin: 581 case BuiltinType::Void: 584 case BuiltinType::NullPtr: 587 case BuiltinType::Overload [all...] |
TreeTransform.h | [all...] |