HomeSort by relevance Sort by last modified time
    Searched refs:Args (Results 1 - 25 of 543) 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...]
  /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 70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args,
79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args))
103 std::vector<std::string> Args;
104 Args.push_back("-std=c++98");
105 Args.push_back("-Wno-unused-value");
106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted);
113 std::vector<std::string> Args;
114 Args.push_back("-std=c++98");
115 Args.push_back("-Wno-unused-value");
117 Args,
    [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/lib/Frontend/
CompilerInvocation.cpp 64 // Deserialization (from args)
73 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK,
76 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable))
79 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
92 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags);
98 static unsigned getOptimizationLevelSize(ArgList &Args) {
99 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
114 static void addWarningArgs(ArgList &Args, std::vector<std::string> &Warnings) {
115 for (arg_iterator I = Args.filtered_begin(OPT_W_Group),
116 E = Args.filtered_end(); I != E; ++I)
    [all...]
  /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 CommandLineArguments Adjust(const CommandLineArguments &Args) override;
58 CommandLineArguments Adjust(const CommandLineArguments &Args) override;
  /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/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/llvm/lib/MC/
MCLinkerOptimizationHint.cpp 30 encodeULEB128(Args.size(), OutStream);
31 for (LOHArgs::const_iterator It = Args.begin(), EndIt = Args.end();
  /external/lldb/source/Commands/
CommandObjectApropos.h 36 DoExecute (Args& command,
CommandObjectSyntax.h 36 DoExecute (Args& command,
CommandObjectVersion.h 36 DoExecute (Args& args,
  /external/clang/lib/Driver/
Tools.cpp 47 static void addAssemblerKPIC(const ArgList &Args, ArgStringList &CmdArgs) {
48 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
64 static void CheckPreprocessingOptions(const Driver &D, const ArgList &Args) {
65 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) {
66 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) &&
67 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) {
69 << A->getBaseArg().getAsString(Args)
77 static void CheckCodeGenerationOptions(const Driver &D, const ArgList &Args) {
79 if (Args.hasArg(options::OPT_static)
    [all...]
  /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}} \
  /frameworks/compile/slang/
rs_cc_options.cpp 90 std::unique_ptr<llvm::opt::InputArgList> Args(OptParser->ParseArgs(
96 << Args->getArgString(MissingArgIndex) << MissingArgCount;
99 DiagOpts.IgnoreWarnings = Args->hasArg(OPT_w);
100 DiagOpts.Warnings = Args->getAllArgValues(OPT_W);
104 for (llvm::opt::arg_iterator it = Args->filtered_begin(OPT_UNKNOWN),
105 ie = Args->filtered_end();
108 << (*it)->getAsString(*Args);
110 for (llvm::opt::ArgList::const_iterator it = Args->begin(),
111 ie = Args->end();
118 Opts.mIncludePaths = Args->getAllArgValues(OPT_I)
    [all...]
  /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/llvm/lib/Target/AArch64/
AArch64MachineFunctionInfo.h 41 /// callee is expected to pop the args.
131 SmallVector<const MachineInstr *, 3> Args;
136 MILOHDirective(MCLOHType Kind, const LOHArgs &Args)
137 : Kind(Kind), Args(Args.begin(), Args.end()) {
142 const LOHArgs &getArgs() const { return Args; }
150 /// Add a LOH directive of this @p Kind and this @p Args.
151 void addLOHDirective(MCLOHType Kind, const MILOHArgs &Args) {
152 LOHContainerSet.push_back(MILOHDirective(Kind, Args));
    [all...]
  /external/chromium_org/tools/gn/
args.h 23 class Args {
25 Args();
26 Args(const Args& other);
27 ~Args();
49 // If the values specified in the args are not already set, the values in
50 // the args list will be used (which are assumed to be the defaults), but
53 // All args specified in the input will be marked as "used".
56 bool DeclareArgs(const Scope::KeyValueMap& args,
101 Args& operator=(const Args& other); // Disallow assignment
    [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...]

Completed in 512 milliseconds

1 2 3 4 5 6 7 8 91011>>