remove extraneous spaces from argument lists.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-05 19:58:40 +00:00
parent 0d1e40728d
commit d81b691ea0

View File

@ -101,7 +101,7 @@ public:
/// @returns null if the name is not found, otherwise the Type /// @returns null if the name is not found, otherwise the Type
/// associated with the \p name. /// associated with the \p name.
/// @brief Lookup a type by name. /// @brief Lookup a type by name.
Type* lookupType( const std::string& name ) const; Type* lookupType(const std::string& name) const;
/// @returns true iff the type map is not empty. /// @returns true iff the type map is not empty.
/// @brief Determine if there are types in the symbol table /// @brief Determine if there are types in the symbol table
@ -125,11 +125,11 @@ public:
/// name. Only the type plane associated with the type of \p val /// name. Only the type plane associated with the type of \p val
/// is searched. /// is searched.
/// @brief Return the name of a value /// @brief Return the name of a value
std::string get_name( const Value* Val ) const; std::string get_name(const Value* Val) const;
/// Finds the type \p Ty in the symbol table and returns its name. /// Finds the type \p Ty in the symbol table and returns its name.
/// @brief Return the name of a type /// @brief Return the name of a type
std::string get_name( const Type* Ty ) const; std::string get_name(const Type* Ty) const;
/// Given a base name, return a string that is either equal to it or /// Given a base name, return a string that is either equal to it or
/// derived from it that does not already occur in the symbol table /// derived from it that does not already occur in the symbol table
@ -176,7 +176,7 @@ public:
/// @brief Insert a type under a new name. /// @brief Insert a type under a new name.
inline void insert(const std::string &Name, const Type *Typ) { inline void insert(const std::string &Name, const Type *Typ) {
assert(Typ && "Can't insert null type into symbol table!"); assert(Typ && "Can't insert null type into symbol table!");
insertEntry(Name, Typ ); insertEntry(Name, Typ);
} }
/// This method removes a named value from the symbol table. The /// This method removes a named value from the symbol table. The
@ -192,7 +192,7 @@ public:
/// the Type in the type map. If the Type is not in the symbol /// the Type in the type map. If the Type is not in the symbol
/// table, this method silently ignores the request. /// table, this method silently ignores the request.
/// @brief Remove a named type from the symbol table. /// @brief Remove a named type from the symbol table.
void remove(const Type* Typ ); void remove(const Type* Typ);
/// Remove a constant or type with the specified name from the /// Remove a constant or type with the specified name from the
/// symbol table. /// symbol table.
@ -297,15 +297,15 @@ public:
/// This method returns a plane_const_iterator for iteration over /// This method returns a plane_const_iterator for iteration over
/// the type planes starting at a specific plane, given by \p Ty. /// the type planes starting at a specific plane, given by \p Ty.
/// @brief Find a type plane. /// @brief Find a type plane.
inline plane_const_iterator find(const Type* Typ ) const { inline plane_const_iterator find(const Type* Typ) const {
assert(Typ && "Can't find type plane with null type!"); assert(Typ && "Can't find type plane with null type!");
return pmap.find( Typ ); return pmap.find(Typ);
} }
/// This method returns a plane_iterator for iteration over the /// This method returns a plane_iterator for iteration over the
/// type planes starting at a specific plane, given by \p Ty. /// type planes starting at a specific plane, given by \p Ty.
/// @brief Find a type plane. /// @brief Find a type plane.
inline plane_iterator find( const Type* Typ ) { inline plane_iterator find(const Type* Typ) {
assert(Typ && "Can't find type plane with null type!"); assert(Typ && "Can't find type plane with null type!");
return pmap.find(Typ); return pmap.find(Typ);
} }
@ -314,10 +314,10 @@ public:
/// interface is deprecated and may go away in the future. /// interface is deprecated and may go away in the future.
/// @deprecated /// @deprecated
/// @brief Find a type plane /// @brief Find a type plane
inline const ValueMap* findPlane( const Type* Typ ) const { inline const ValueMap* findPlane(const Type* Typ) const {
assert(Typ && "Can't find type plane with null type!"); assert(Typ && "Can't find type plane with null type!");
plane_const_iterator I = pmap.find( Typ ); plane_const_iterator I = pmap.find(Typ);
if ( I == pmap.end() ) return 0; if (I == pmap.end()) return 0;
return &I->second; return &I->second;
} }