HomeSort by relevance Sort by last modified time
    Searched refs:Args (Results 1 - 25 of 358) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
ext-blocks.cpp 4 template<typename ...Args>
5 int f0(Args ...args) {
7 return sizeof...(Args);
9 return sizeof...(args);
13 template<typename ...Args>
14 int f1(Args ...args) {
16 return f0(args...);
23 template<typename ...Args>
    [all...]
example-function.cpp 9 template<typename R, typename... Args> class invoker_base {
12 virtual R invoke(Args...) = 0;
16 template<typename F, typename R, typename... Args>
17 class functor_invoker : public invoker_base<R, Args...> {
20 R invoke(Args... args) { return f(args...); }
27 template<typename R, typename... Args>
28 class function<R (Args...)> {
38 invoker = new functor_invoker<F, R, Args...>(f)
    [all...]
  /external/clang/test/SemaCXX/
issue547.cpp 9 template<typename R, typename ...Args>
10 struct classify_function<R(Args...)> {
14 template<typename R, typename ...Args>
15 struct classify_function<R(Args...) const> {
19 template<typename R, typename ...Args>
20 struct classify_function<R(Args...) volatile> {
24 template<typename R, typename ...Args>
25 struct classify_function<R(Args...) const volatile> {
29 template<typename R, typename ...Args>
30 struct classify_function<R(Args......)>
    [all...]
generic-selection.cpp 30 template <unsigned Arg, unsigned... Args> struct Or {
31 enum { result = Arg | Or<Args...>::result };
38 template <class... Args> struct TypeMask {
40 result = Or<_Generic(Args(), int: 1, long: 2, short: 4, float: 8)...>::result
  /external/clang/test/CXX/special/class.conv/class.conv.ctor/
p1.cpp 7 template <typename Arg0, typename... Args>
8 void_type(Arg0&&, Args&&...) { }
13 template <typename... Args>
14 void_type2(Args&&...) { }
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
p22.cpp 7 template<class ... Args> int& f(Args ... args);
8 template<class T1, class ... Args> float& f(T1 a1, Args ... args);
p8-0x.cpp 11 template<class C, typename R, typename ...Args>
12 struct member_pointer_kind<R (C::*)(Args...)> {
16 template<class C, typename R, typename ...Args>
17 struct member_pointer_kind<R (C::*)(Args...) &> {
21 template<class C, typename R, typename ...Args>
22 struct member_pointer_kind<R (C::*)(Args...) &&> {
26 template<class C, typename R, typename ...Args>
27 struct member_pointer_kind<R (C::*)(Args...) const> {
31 template<class C, typename R, typename ...Args>
32 struct member_pointer_kind<R (C::*)(Args...) const &>
    [all...]
  /external/clang/unittests/AST/
DeclTest.cpp 29 std::vector<std::string> Args(1, "-std=c++11");
30 Args.push_back("-fno-ms-extensions");
51 Args));
58 Args));
StmtPrinterTest.cpp 69 const std::vector<std::string> &Args,
78 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args))
102 std::vector<std::string> Args;
103 Args.push_back("-std=c++98");
104 Args.push_back("-Wno-unused-value");
106 Args,
116 std::vector<std::string> Args;
117 Args.push_back("-std=c++98");
118 Args.push_back("-fms-extensions");
119 Args.push_back("-Wno-unused-value")
    [all...]
  /external/clang/lib/Tooling/
ArgumentsAdjusters.cpp 27 ClangSyntaxOnlyAdjuster::Adjust(const CommandLineArguments &Args) {
29 for (size_t i = 0, e = Args.size(); i != e; ++i) {
30 StringRef Arg = Args[i];
34 AdjustedArgs.push_back(Args[i]);
41 ClangStripOutputAdjuster::Adjust(const CommandLineArguments &Args) {
43 for (size_t i = 0, e = Args.size(); i < e; ++i) {
44 StringRef Arg = Args[i];
46 AdjustedArgs.push_back(Args[i]);
  /external/clang/test/PCH/
cxx-traits.h 13 template<typename T, typename ...Args>
15 static const bool value = __is_trivially_constructible(T, Args...);
  /external/clang/test/Parser/
cxx0x-in-cxx98.cpp 5 template<typename ...Args> // expected-warning{{variadic templates are a C++11 extension}}
6 void f(Args &&...) &; // expected-warning{{rvalue references are a C++11 extension}} \
  /external/clang/include/clang/Tooling/
ArgumentsAdjusters.h 39 /// \param Args Input sequence of command line arguments.
42 virtual CommandLineArguments Adjust(const CommandLineArguments &Args) = 0;
52 virtual CommandLineArguments Adjust(const CommandLineArguments &Args);
58 virtual CommandLineArguments Adjust(const CommandLineArguments &Args);
  /external/clang/test/Index/
annotate-tokens-cxx0x.cpp 1 template<typename ...Args>
2 int f(Args ...args) {
3 return sizeof...(args) + sizeof...(Args);
28 // CHECK: Identifier: "args" [3:20 - 3:24] SizeOfPackExpr=args:2:15
29 // CHECK: Identifier: "Args" [3:38 - 3:42] TypeRef=Args:1:22
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p23.cpp 46 template<class... Args>
47 void std_example(Args... args) {
48 auto lm = [&, args...] { return g(args...); };
53 template<typename ...Args>
54 void variadic_lambda(Args... args) {
55 auto lambda = [](Args... inner_args) { return g(inner_args...); };
56 lambda(args...)
    [all...]
  /external/clang/lib/Frontend/
CompilerInvocation.cpp 58 // Deserialization (from args)
67 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK,
70 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable))
73 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
86 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags);
92 static unsigned getOptimizationLevelSize(ArgList &Args) {
93 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
108 static void addWarningArgs(ArgList &Args, std::vector<std::string> &Warnings) {
109 for (arg_iterator I = Args.filtered_begin(OPT_W_Group),
110 E = Args.filtered_end(); I != E; ++I)
    [all...]
  /external/clang/lib/Driver/
Tools.cpp 46 static void CheckPreprocessingOptions(const Driver &D, const ArgList &Args) {
47 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC))
48 if (!Args.hasArg(options::OPT_E) && !D.CCCIsCPP())
50 << A->getAsString(Args) << "-E";
55 static void CheckCodeGenerationOptions(const Driver &D, const ArgList &Args) {
57 if (Args.hasArg(options::OPT_static))
58 if (const Arg *A = Args.getLastArg(options::OPT_dynamic,
61 << A->getAsString(Args) << "-static";
93 static void addDirectoryList(const ArgList &Args,
115 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + "."))
    [all...]
  /external/chromium_org/tools/gn/
args.h 23 class Args {
25 Args();
26 Args(const Args& other);
27 ~Args();
42 // If the values specified in the args are not already set, the values in
43 // the args list will be used (which are assumed to be the defaults), but
46 // All args specified in the input will be marked as "used".
49 bool DeclareArgs(const Scope::KeyValueMap& args,
58 // single-threaded. It's used to implement the "args" command
    [all...]
  /external/llvm/unittests/ADT/
VariadicFunctionTest.cpp 19 std::string StringCatImpl(ArrayRef<const std::string *> Args) {
21 for (unsigned i = 0, e = Args.size(); i < e; ++i)
22 S += *Args[i];
42 long SumImpl(ArrayRef<const int *> Args) {
44 for (unsigned i = 0, e = Args.size(); i < e; ++i)
45 Result += *Args[i];
59 int StringAppendImpl(std::string *Dest, ArrayRef<const std::string *> Args) {
61 for (unsigned i = 0, e = Args.size(); i < e; ++i) {
62 Chars += Args[i]->size();
63 *Dest += *Args[i]
    [all...]
  /external/clang/include/clang/ASTMatchers/Dynamic/
Registry.h 42 /// \param Args The argument list for the matcher. The number and types of the
52 ArrayRef<ParserValue> Args,
64 ArrayRef<ParserValue> Args,
  /external/clang/lib/AST/
SelectorLocationsKind.cpp 65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) {
66 return Index < Args.size() ? getArgLoc(Args[Index]) : SourceLocation();
72 ArrayRef<T *> Args,
74 // Are selector locations in standard position with no space between args ?
78 Args, EndLoc))
84 // Are selector locations in standard position with space between args ?
87 Args, EndLoc))
99 ArrayRef<Expr *> Args,
101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc)
    [all...]
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
p1-0x.cpp 29 template<typename ...Args>
30 typename get_nth_type<0, Args...>::type first_arg(Args...);
32 template<typename ...Args>
33 typename get_nth_type<1, Args...>::type second_arg(Args...);
42 template<typename ...Args>
43 typename get_nth_type<0, Args...>::type first_arg_ref(Args&...);
45 template<typename ...Args>
    [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 197 std::vector<ffi_type*> args(NumArgs);
202 args[ArgNo] = ffiTypeFor(ArgTy);
221 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, &args[0]) == FFI_OK) {
303 const std::vector<GenericValue> &Args) {
304 assert(Args.size() == 1);
305 TheInterpreter->addAtExitHandler((Function*)GVTOP(Args[0]));
314 const std::vector<GenericValue> &Args) {
315 TheInterpreter->exitCalled(Args[0]);
322 const std::vector<GenericValue> &Args) {
333 const std::vector<GenericValue> &Args) {
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
Args.java 22 class Args {
  /external/clang/include/clang/AST/
SelectorLocationsKind.h 48 ArrayRef<Expr *> Args,
60 ArrayRef<Expr *> Args,
66 ArrayRef<ParmVarDecl *> Args,
78 ArrayRef<ParmVarDecl *> Args,

Completed in 956 milliseconds

1 2 3 4 5 6 7 8 91011>>