diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-26 21:25:24 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-26 21:25:24 +0000 | 
| commit | 28ade550f4c6e93bbb0eeec5f1f47efb3e2591ca (patch) | |
| tree | 7e8f836f508fb7a3c82e294cbdb434e038c1f4a6 /clang/lib/Sema/SemaCXXCast.cpp | |
| parent | a8b949883ed352b9b0851dbb7b39b8be05530ffe (diff) | |
| download | bcm5719-llvm-28ade550f4c6e93bbb0eeec5f1f47efb3e2591ca.tar.gz bcm5719-llvm-28ade550f4c6e93bbb0eeec5f1f47efb3e2591ca.zip | |
Fix namespace polution.
llvm-svn: 109440
Diffstat (limited to 'clang/lib/Sema/SemaCXXCast.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaCXXCast.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/Sema/SemaCXXCast.cpp b/clang/lib/Sema/SemaCXXCast.cpp index 787bd00ac81..29e9051082d 100644 --- a/clang/lib/Sema/SemaCXXCast.cpp +++ b/clang/lib/Sema/SemaCXXCast.cpp @@ -197,7 +197,7 @@ Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind,  /// the same kind of pointer (plain or to-member). Unlike the Sema function,  /// this one doesn't care if the two pointers-to-member don't point into the  /// same class. This is because CastsAwayConstness doesn't care. -bool UnwrapDissimilarPointerTypes(QualType& T1, QualType& T2) { +static bool UnwrapDissimilarPointerTypes(QualType& T1, QualType& T2) {    const PointerType *T1PtrType = T1->getAs<PointerType>(),                      *T2PtrType = T2->getAs<PointerType>();    if (T1PtrType && T2PtrType) { | 

