llvm-project/clang/lib
Douglas Gregor f83b4ea8b6 Under -fms-extensions, only inject a friend tag name when we didn't see a tag with that name in an enclosing scope.
r177473 made us correctly consider only those declarations in the
enclosing namespace scope when looking for a friend declaration. Under
ms-extensions mode, where we do some level of friend injection, this
meant that we were introducing a new tag type into a different scope
than what Microsoft actually does. Address this by only doing the
friend injection when we didn't see any tag with that name in any
outer scope. Fixes <rdar://problem/14250378>.

llvm-svn: 185100
2013-06-27 20:42:30 +00:00
..
ARCMigrate Modernize some low-hanging PathV1 uses. 2013-06-13 14:26:04 +00:00
AST Simplify StmtIterator. 2013-06-27 20:39:04 +00:00
ASTMatchers Add support for polymorphic matchers. Use runtime type checking to determine the right polymorphic overload to use. 2013-06-21 15:51:31 +00:00
Analysis Updating a link in the comments; no functional change. 2013-06-26 19:17:19 +00:00
Basic Add support for passing v8fp options via -mfpu. 2013-06-27 13:19:54 +00:00
CodeGen Rewrite record layout for ms_struct structs. 2013-06-26 20:50:34 +00:00
Driver Add support for passing v8fp options via -mfpu. 2013-06-27 13:19:54 +00:00
Edit [objcmt] Fix a mishandled conversion to objc directory literal. 2013-04-06 01:13:17 +00:00
Format Fix a comment. 2013-06-26 02:42:46 +00:00
Frontend Small improvements to createOutputFile. 2013-06-27 18:26:26 +00:00
FrontendTool [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00
Headers X86 intrinsics: cmpge|gt|nge|ngt_ss|_sd 2013-06-17 19:42:49 +00:00
Lex Match MSVC's handling of commas during macro argument expansion 2013-06-26 17:16:08 +00:00
Parse ArrayRef'ize Sema::CodeCompleteConstructorInitializer 2013-06-23 22:58:02 +00:00
Rewrite Port HTMLDiagnostics to PathV2. No intended functionality change. 2013-06-12 18:13:05 +00:00
Sema Under -fms-extensions, only inject a friend tag name when we didn't see a tag with that name in an enclosing scope. 2013-06-27 20:42:30 +00:00
Serialization Lazily deserialize the "first' friend declaration when deserializing a class 2013-06-26 02:41:25 +00:00
StaticAnalyzer We only create one file, no need to delete a directory. 2013-06-26 14:33:23 +00:00
Tooling Remove unused include. 2013-06-26 12:44:19 +00:00
CMakeLists.txt Turn CLANG_ENABLE_{ARCMT,REWRITER,STATIC_ANALYZER} into proper options so that 2013-05-29 21:09:18 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00