mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Some cleanups for compilation with GCC 4.0.0 to remove warnings:
* Use C++ style casts, not C style casts * Abstract base classes should have virtual destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -108,7 +108,7 @@ public:
|
||||
inline bool isEmpty() const { return pmap.empty() && tmap.empty(); }
|
||||
|
||||
/// @brief The number of name/type pairs is returned.
|
||||
inline unsigned num_types() const { return (unsigned)tmap.size(); }
|
||||
inline unsigned num_types() const { return unsigned(tmap.size()); }
|
||||
|
||||
/// 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
|
||||
|
Reference in New Issue
Block a user