Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct transaction iteration in ASTNodeEraser and doxygen docs. #44

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ namespace cling {
///
int m_backupFDStdout;

///brief
///\brief The file descriptor of the copy of stdout.
///
int m_backupFDStderr;

///brief Stores the stack for the redirect file paths for out.
///\brief Stores the stack for the redirect file paths for out.
llvm::SmallVector<llvm::SmallString<128>, 2> m_PrevStdoutFileName;
///brief Stores the stack for the redirect file paths for err.
///\brief Stores the stack for the redirect file paths for err.
llvm::SmallVector<llvm::SmallString<128>, 2> m_PrevStderrFileName;

public:
Expand All @@ -75,7 +75,7 @@ namespace cling {
};

public:
///brief Class to be created for each processing input to be
///\brief Class to be created for each processing input to be
/// able to redirect std.
class MaybeRedirectOutputRAII {
private:
Expand Down
5 changes: 0 additions & 5 deletions interpreter/cling/lib/Interpreter/ASTNodeEraser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,11 +783,6 @@ namespace cling {
}
}

for (Transaction::const_reverse_macros_iterator MI = T->rmacros_begin(),
ME = T->rmacros_end(); MI != ME; ++MI) {
// Get rid of the macro definition
Successful = DeclRev.RevertMacro(*MI) && Successful;
}
#ifndef NDEBUG
assert(Successful && "Cannot handle that yet!");
#endif
Expand Down