[PATCH] PR13236 - Microsoft compatibility: support __super specifier to access members of base classes

Nikola Smiljanić popizdeh at gmail.com
Wed Sep 24 18:41:03 PDT 2014


Fingers crossed.

I'm not too happy with what I had to do with FileCheck to get the lambda test case working. This whole file expects c++11 to be disabled which prevents me from using -verify. I thought about moving this to MicrosoftCompatibility.cpp but that's misleading as __super is controlled by -mfs-extensions. Separate file for __super tests would be the way to solve all problems?

http://reviews.llvm.org/D4468

Files:
  include/clang/AST/DataRecursiveASTVisitor.h
  include/clang/AST/NestedNameSpecifier.h
  include/clang/AST/RecursiveASTVisitor.h
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Basic/TokenKinds.def
  include/clang/Sema/DeclSpec.h
  include/clang/Sema/Scope.h
  include/clang/Sema/Sema.h
  lib/AST/ASTContext.cpp
  lib/AST/ASTImporter.cpp
  lib/AST/ExprCXX.cpp
  lib/AST/ItaniumMangle.cpp
  lib/AST/NestedNameSpecifier.cpp
  lib/Parse/ParseDecl.cpp
  lib/Parse/ParseDeclCXX.cpp
  lib/Parse/ParseExpr.cpp
  lib/Parse/ParseExprCXX.cpp
  lib/Parse/ParseTentative.cpp
  lib/Parse/Parser.cpp
  lib/Sema/DeclSpec.cpp
  lib/Sema/SemaCXXScopeSpec.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaExprCXX.cpp
  lib/Sema/SemaLookup.cpp
  lib/Sema/SemaTemplate.cpp
  lib/Sema/SemaType.cpp
  lib/Sema/TreeTransform.h
  lib/Serialization/ASTReader.cpp
  lib/Serialization/ASTWriter.cpp
  test/SemaCXX/MicrosoftExtensions.cpp
  tools/libclang/CIndex.cpp
  tools/libclang/IndexTypeSourceInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4468.14058.patch
Type: text/x-patch
Size: 37237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140925/e764d859/attachment.bin>


More information about the cfe-commits mailing list