mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Unbreak the build on win32.
Cleanup some warning. Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync. Only tested with VS2008. hope it does not break anything. feel free to revert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -124,7 +124,7 @@ bool TGParser::SetValue(Record *CurRec, LocTy Loc, const std::string &ValName,
|
||||
|
||||
/// AddSubClass - Add SubClass as a subclass to CurRec, resolving its template
|
||||
/// args as SubClass's template arguments.
|
||||
bool TGParser::AddSubClass(Record *CurRec, class SubClassReference &SubClass) {
|
||||
bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) {
|
||||
Record *SC = SubClass.Rec;
|
||||
// Add all of the values in the subclass into the current class.
|
||||
const std::vector<RecordVal> &Vals = SC->getValues();
|
||||
|
||||
Reference in New Issue
Block a user