1//===-- CompilerInvocation.h - Compiler Invocation Helper Data --*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
--- 68 unchanged lines hidden (view full) ---
77 /// @{
78
79 /// CreateFromArgs - Create a compiler invocation from a list of input
80 /// options.
81 ///
82 /// \param Res [out] - The resulting invocation.
83 /// \param ArgBegin - The first element in the argument vector.
84 /// \param ArgEnd - The last element in the argument vector.
85 /// \param Argv0 - The program path (from argv[0]), for finding the builtin
86 /// compiler path.
87 /// \param MainAddr - The address of main (or some other function in the main
88 /// executable), for finding the builtin compiler path.
89 /// \param Diags - The diagnostic engine to use for errors.
90 static void CreateFromArgs(CompilerInvocation &Res, const char **ArgBegin,
91 const char **ArgEnd, const char *Argv0,
92 void *MainAddr,
93 Diagnostic &Diags);
94
95 /// toArgs - Convert the CompilerInvocation to a list of strings suitable for
96 /// passing to CreateFromArgs.
97 void toArgs(std::vector<std::string> &Res);
98
99 /// @}
100 /// @name Option Subgroups
101 /// @{
--- 57 unchanged lines hidden ---
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
--- 68 unchanged lines hidden (view full) ---
77 /// @{
78
79 /// CreateFromArgs - Create a compiler invocation from a list of input
80 /// options.
81 ///
82 /// \param Res [out] - The resulting invocation.
83 /// \param ArgBegin - The first element in the argument vector.
84 /// \param ArgEnd - The last element in the argument vector.
85 /// \param Argv0 - The program path (from argv[0]), for finding the builtin
86 /// compiler path.
87 /// \param MainAddr - The address of main (or some other function in the main
88 /// executable), for finding the builtin compiler path.
89 /// \param Diags - The diagnostic engine to use for errors.
90 static void CreateFromArgs(CompilerInvocation &Res, const char **ArgBegin,
91 const char **ArgEnd, const char *Argv0,
92 void *MainAddr,
93 Diagnostic &Diags);
94
95 /// toArgs - Convert the CompilerInvocation to a list of strings suitable for
96 /// passing to CreateFromArgs.
97 void toArgs(std::vector<std::string> &Res);
98
99 /// @}
100 /// @name Option Subgroups
101 /// @{
--- 57 unchanged lines hidden ---