mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-17 05:25:47 +00:00
Warning fixes for VC++, contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,7 +201,7 @@ public:
|
||||
inline reverse_giterator grend () { return GlobalList.rend(); }
|
||||
inline const_reverse_giterator grend () const { return GlobalList.rend(); }
|
||||
|
||||
inline unsigned gsize() const { return GlobalList.size(); }
|
||||
inline size_t gsize() const { return GlobalList.size(); }
|
||||
inline bool gempty() const { return GlobalList.empty(); }
|
||||
inline const GlobalVariable &gfront() const { return GlobalList.front(); }
|
||||
inline GlobalVariable &gfront() { return GlobalList.front(); }
|
||||
@@ -219,7 +219,7 @@ public:
|
||||
inline reverse_iterator rend () { return FunctionList.rend(); }
|
||||
inline const_reverse_iterator rend () const { return FunctionList.rend(); }
|
||||
|
||||
inline unsigned size() const { return FunctionList.size(); }
|
||||
inline size_t size() const { return FunctionList.size(); }
|
||||
inline bool empty() const { return FunctionList.empty(); }
|
||||
inline const Function &front() const { return FunctionList.front(); }
|
||||
inline Function &front() { return FunctionList.front(); }
|
||||
@@ -236,7 +236,7 @@ public:
|
||||
inline lib_iterator lib_end() const { return LibraryList.end(); }
|
||||
|
||||
/// @brief Returns the number of items in the list of libraries.
|
||||
inline unsigned lib_size() const { return LibraryList.size(); }
|
||||
inline size_t lib_size() const { return LibraryList.size(); }
|
||||
|
||||
/// @brief Add a library to the list of dependent libraries
|
||||
inline void addLibrary(const std::string& Lib){ LibraryList.insert(Lib); }
|
||||
|
Reference in New Issue
Block a user