Blanks.
This commit is contained in:
parent
1a59a8b87a
commit
a25c6b5ce5
@ -33,7 +33,7 @@
|
||||
|
||||
namespace cling {
|
||||
|
||||
MetaSema::MetaSema(Interpreter& interp, MetaProcessor& meta)
|
||||
MetaSema::MetaSema(Interpreter& interp, MetaProcessor& meta)
|
||||
: m_Interpreter(interp), m_MetaProcessor(meta), m_IsQuitRequested(false),
|
||||
m_Outs(m_MetaProcessor.getOuts()) { }
|
||||
|
||||
@ -57,8 +57,8 @@ namespace cling {
|
||||
m_Interpreter.declare(comment);
|
||||
}
|
||||
|
||||
MetaSema::ActionResult MetaSema::actOnxCommand(llvm::StringRef file,
|
||||
llvm::StringRef args,
|
||||
MetaSema::ActionResult MetaSema::actOnxCommand(llvm::StringRef file,
|
||||
llvm::StringRef args,
|
||||
StoredValueRef* result) {
|
||||
// Fall back to the meta processor for now.
|
||||
Interpreter::CompilationResult compRes = Interpreter::kFailure;
|
||||
@ -130,7 +130,7 @@ namespace cling {
|
||||
m_Interpreter.compareInterpreterState(name);
|
||||
}
|
||||
|
||||
void MetaSema::actOndynamicExtensionsCommand(SwitchMode mode/* = kToggle*/)
|
||||
void MetaSema::actOndynamicExtensionsCommand(SwitchMode mode/* = kToggle*/)
|
||||
const {
|
||||
if (mode == kToggle) {
|
||||
bool flag = !m_Interpreter.isDynamicLookupEnabled();
|
||||
@ -194,12 +194,12 @@ namespace cling {
|
||||
*/
|
||||
}
|
||||
|
||||
void MetaSema::actOnfilesCommand() const {
|
||||
void MetaSema::actOnfilesCommand() const {
|
||||
m_Interpreter.printIncludedFiles(m_Outs);
|
||||
}
|
||||
|
||||
void MetaSema::actOnclassCommand(llvm::StringRef className) const {
|
||||
if (!className.empty())
|
||||
if (!className.empty())
|
||||
DisplayClass(m_Outs, &m_Interpreter, className.str().c_str(), true);
|
||||
else
|
||||
DisplayClasses(m_Outs, &m_Interpreter, false);
|
||||
@ -222,7 +222,7 @@ namespace cling {
|
||||
else
|
||||
DisplayTypedef(m_Outs, &m_Interpreter, typedefName.str().c_str());
|
||||
}
|
||||
|
||||
|
||||
MetaSema::ActionResult
|
||||
MetaSema::actOnShellCommand(llvm::StringRef commandLine,
|
||||
StoredValueRef* result) const {
|
||||
@ -245,8 +245,4 @@ namespace cling {
|
||||
// nothing to run - should this be success or failure?
|
||||
return AR_Failure;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // end namespace cling
|
||||
|
@ -22,7 +22,7 @@ namespace cling {
|
||||
class MetaProcessor;
|
||||
class StoredValueRef;
|
||||
|
||||
///\brief Semantic analysis for our home-grown language. All implementation
|
||||
///\brief Semantic analysis for our home-grown language. All implementation
|
||||
/// details of the commands should go here.
|
||||
class MetaSema {
|
||||
private:
|
||||
@ -48,7 +48,7 @@ namespace cling {
|
||||
|
||||
const Interpreter& getInterpreter() const { return m_Interpreter; }
|
||||
bool isQuitRequested() const { return m_IsQuitRequested; }
|
||||
|
||||
|
||||
///\brief L command includes the given file or loads the given library.
|
||||
///
|
||||
///\param[in] file - The file/library to be loaded.
|
||||
@ -94,12 +94,12 @@ namespace cling {
|
||||
|
||||
///\brief Actions to be performed on unload command.
|
||||
///
|
||||
///\param[in] value - The number of transactons to unload. By default it
|
||||
///\param[in] value - The number of transactons to unload. By default it
|
||||
/// unloads only the last transaction.
|
||||
///
|
||||
ActionResult actOnUCommand(unsigned value = 1) const;
|
||||
|
||||
///\brief Actions to be performed on add include path. It registers new
|
||||
///\brief Actions to be performed on add include path. It registers new
|
||||
/// folder where header files can be searched.
|
||||
///
|
||||
///\param[in] path - The path to add to header search.
|
||||
@ -137,14 +137,14 @@ namespace cling {
|
||||
///
|
||||
void actOncompareStateCommand(llvm::StringRef name) const;
|
||||
|
||||
///\brief Switches on/off the experimental dynamic extensions (dynamic
|
||||
///\brief Switches on/off the experimental dynamic extensions (dynamic
|
||||
/// scopes) and late binding.
|
||||
///
|
||||
///\param[in] mode - either on/off or toggle.
|
||||
///
|
||||
void actOndynamicExtensionsCommand(SwitchMode mode = kToggle) const;
|
||||
|
||||
///\brief Prints out the help message with the description of the meta
|
||||
///\brief Prints out the help message with the description of the meta
|
||||
/// commands.
|
||||
///
|
||||
void actOnhelpCommand() const;
|
||||
@ -169,11 +169,11 @@ namespace cling {
|
||||
|
||||
///\brief Prints out information about global variables.
|
||||
///
|
||||
///\param[in] varName - The name of the global variable
|
||||
///\param[in] varName - The name of the global variable
|
||||
// if empty prints them all.
|
||||
///
|
||||
void actOngCommand(llvm::StringRef varName) const;
|
||||
|
||||
|
||||
///\brief Prints out information about typedefs.
|
||||
///
|
||||
///\param[in] typedefName - The name of typedef if empty prints them all.
|
||||
|
Loading…
x
Reference in New Issue
Block a user