diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-11-25 01:10:54 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-11-25 01:10:54 +0000 |
commit | de232cb16674e83b373aaac41552ec543c8cc126 (patch) | |
tree | 08fff40d4baf8ae000941c40df1361e513d87408 /llvm/lib/Support/CommandLine.cpp | |
parent | d65a44447844feecfbdae3a7b030bd88c1d04e54 (diff) | |
download | llvm-de232cb16674e83b373aaac41552ec543c8cc126.zip llvm-de232cb16674e83b373aaac41552ec543c8cc126.tar.gz llvm-de232cb16674e83b373aaac41552ec543c8cc126.tar.bz2 |
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside a friend function definition at class scope.
Basically we have to look into the parent *lexical* DeclContext for friend functions at class scope. That's because calling GetParent() return the namespace or file DeclContext.
This fixes all remaining cases of "Unqualified lookup into dependent bases of class templates" when parsing MFC code with clang.
llvm-svn: 145127
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions