diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2012-03-14 22:36:10 +0000 | 
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2012-03-14 22:36:10 +0000 | 
| commit | 118bad1a08fd2de2deba3e33babb43db8df06726 (patch) | |
| tree | 2024a9f589e4ff14c14058ab7cfc63088987c820 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 1ce8dbb93f1b749d5498b28a16b2efacdd73bd33 (diff) | |
| download | bcm5719-llvm-118bad1a08fd2de2deba3e33babb43db8df06726.tar.gz bcm5719-llvm-118bad1a08fd2de2deba3e33babb43db8df06726.zip | |
Fixes the MSVC build.
Commit r152704 exposed a latent MSVC limitation (aka bug). 
Both ilist and and iplist contains the same function:
  template<class InIt> void insert(iterator where, InIt first, InIt last) {
    for (; first != last; ++first) insert(where, *first);
  }
Also ilist inherits from iplist and ilist contains a "using iplist<NodeTy>::insert".
MSVC doesn't know which one to pick and complain with an error.
I think it is safe to delete ilist::insert since it is redundant anyway.
llvm-svn: 152746
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions

