Skip to content
Snippets Groups Projects
Commit 1c381abe authored by Axel Naumann's avatar Axel Naumann
Browse files

doxygen fixed.

parent 4383d746
Branches
Tags
No related merge requests found
......@@ -21,8 +21,8 @@ namespace cling {
class CompilerOptions {
public:
/// \brief Construct CompilerOptions from given arguments. When argc & argv
/// are 0, all arguments are saved into \pRemaining to pass to clang. If argc
/// or argv is 0, caller is must fill in \pRemaining with any arguments that
/// are 0, all arguments are saved into Remaining to pass to clang. If argc
/// or argv is 0, caller is must fill in Remaining with any arguments that
/// should be passed to clang.
///
CompilerOptions(int argc = 0, const char* const *argv = nullptr);
......
......@@ -160,8 +160,7 @@ namespace cling {
///\param [in] filename - The file to read.
/// @param[out] result - the cling::Value as result of the
/// execution of the last statement
///\param [in] curlyToIgnore - Whether to ignore enlosing {}, and position
/// of the opening '{'.
///\param [in] posOpenCurly - position of the opening '{'; -1 if no curly.
///
///\returns result of the compilation.
///
......@@ -169,6 +168,7 @@ namespace cling {
readInputFromFile(llvm::StringRef filename,
Value* result,
size_t posOpenCurly = (size_t)(-1));
///\brief Set the stdout and stderr stream to the appropriate file.
///
///\param [in] file - The file for the redirection.
......
......@@ -54,7 +54,7 @@ namespace cling {
/// processing. See Interpreter::AddIncludePaths or CIFactory::createCI
/// for examples of what needs to be done once the paths have been added.
///
///\param[in] PathsStr - Path(s)
///\param[in] PathStr - Path(s)
///\param[in] Opts - HeaderSearchOptions to add paths into
///\param[in] Delim - Delimiter to separate paths or NULL if a single path
///
......
......@@ -30,6 +30,7 @@ namespace utils {
/// surrounded by a set of curly braces.
///
/// \param source The source code to analyze.
/// \param LangOpts - LangOptions to use for lexing.
/// \return the position of the unnamed macro's opening '{'; or
/// std::string::npos if this is not an unnamed macro.
size_t isUnnamedMacro(llvm::StringRef source,
......@@ -37,17 +38,17 @@ namespace utils {
///\brief Determine whether the source needs to be moved into a function.
///
/// If so, move possible #includes out of the future body of the function and
/// return the position where the function signature should be inserted.
/// If so, move possible includes directives out of the future body of the
/// function and return the position where the function signature should be
/// inserted.
///
/// \param source - The source code to analyze; out: the source with
/// re-arranged includes.
/// \param LangOpts - LangOptions to use for lexing.
/// \param SM - SourceManager to use for lexed SourceLocations.
/// \return The position where the function signature and '{' should be
/// inserted; std::string::npos if this source should not be wrapped.
size_t getWrapPoint(std::string& source, const clang::LangOptions& LangOpts);
} // namespace utils
} // namespace cling
#endif // CLING_UTILS_SOURCE_NORMALIZATION_H
\ No newline at end of file
#endif // CLING_UTILS_SOURCE_NORMALIZATION_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment