mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Fix nested namespace with decltype to hopefully work with MSVC
Build failed here: http://lab.llvm.org:8011/builders/lld-x86_64-win7/builds/14629/steps/build_Lld/logs/stdio So I'm taking a shot in the dark that MSVC (whatever version that is) can't cope with nested name specifiers with a decltype prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b92db75a03
commit
de67e5c3fb
@ -786,7 +786,8 @@ public:
|
||||
return PatternFragments.find(R)->second.get();
|
||||
}
|
||||
|
||||
typedef decltype(PatternFragments)::const_iterator pf_iterator;
|
||||
typedef std::map<Record *, std::unique_ptr<TreePattern>,
|
||||
LessRecordByID>::const_iterator pf_iterator;
|
||||
pf_iterator pf_begin() const { return PatternFragments.begin(); }
|
||||
pf_iterator pf_end() const { return PatternFragments.end(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user