Skip to content

Commit

Permalink
Removed more boost code; removed dead extractFunctionArgumentsNormali…
Browse files Browse the repository at this point in the history
…zation
  • Loading branch information
pflynn157 committed Sep 13, 2023
1 parent c2c3d20 commit 7ee1563
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 747 deletions.
1 change: 0 additions & 1 deletion src/midend/programTransformation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_subdirectory(astInlining)
add_subdirectory(astOutlining)
add_subdirectory(ompLowering)
add_subdirectory(transformationTracking)
add_subdirectory(extractFunctionArgumentsNormalization)
add_subdirectory(singleStatementToBlockNormalization)
if(NOT enable-internalFrontendDevelopment)
add_subdirectory(loopProcessing)
Expand Down
5 changes: 3 additions & 2 deletions src/midend/programTransformation/astOutlining/GenerateFunc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <sstream>
#include <set>
#include <map>
#include <unordered_map>

#include "Outliner.hh"
#include "ASTtools.hh"
Expand Down Expand Up @@ -1397,8 +1398,8 @@ class SymbolMapOfTwoFiles
dict[i1->second]=i2->second;
#endif
rose_hash_multimap::iterator i1, i2;
boost::unordered_map<string, SgVariableSymbol*> varSymDict;
boost::unordered_map<string, SgFunctionSymbol*> funcSymDict;
std::unordered_map<string, SgVariableSymbol*> varSymDict;
std::unordered_map<string, SgFunctionSymbol*> funcSymDict;

// cache mapping of new symbols,indexed by qualified name : qualified name to symbol
for (i2=set2->begin(); i2!=set2->end(); i2++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "Outliner.hh"
#include "ASTtools.hh"
#include "PreprocessingInfo.hh"
#include <boost/algorithm/string/trim.hpp>
#include <StringUtility/Trim.h>

//! Simplest outlining directives, applied to a single statement.
static const std::string PRAGMA_OUTLINE ("rose_outline");
Expand Down Expand Up @@ -89,7 +89,7 @@ processFortranComment(SgLocatedNode* node)
if ((*i)->getTypeOfDirective() == PreprocessingInfo::FortranStyleComment)
{
string commentString = (*i)->getString();
boost::algorithm::trim(commentString);
trim(commentString);
if ( (commentString == "!$"+PRAGMA_OUTLINE)
|| (commentString == "c$"+PRAGMA_OUTLINE)
|| (commentString == "*$"+PRAGMA_OUTLINE))
Expand Down

This file was deleted.

Loading

0 comments on commit 7ee1563

Please sign in to comment.