llvm-project/clang/lib/Sema
Jordan Rose edff020011 Allow internal decls in inline functions if the function is in the main file.
This handles the very common case of people writing inline functions in their
main source files and not tagging them as inline. These cases should still
behave as the user intended. (The diagnostic is still emitted as an extension.)

I'm reworking this code anyway to account for C++'s equivalent restriction in
[basic.def.odr]p6, but this should get some bots back to green.

llvm-svn: 158666
2012-06-18 17:49:58 +00:00
..
AnalysisBasedWarnings.cpp Stop referring to functions as methods in per-function fallthrough-checking. 2012-06-15 21:22:05 +00:00
AttributeList.cpp Handle C++11 attribute namespaces automatically. 2012-06-18 16:13:52 +00:00
CMakeLists.txt Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
CodeCompleteConsumer.cpp Bitpack CodeCompletionResults. 2012-05-20 14:19:46 +00:00
DeclSpec.cpp If parsing a trailing-return-type fails, don't pretend we didn't have one at 2012-06-12 01:51:59 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp Explicitly build __builtin_va_list. 2012-06-16 03:34:49 +00:00
SemaAccess.cpp Change how we suppress access control in explicit instantiations 2012-05-07 06:16:58 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaCast.cpp Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. 2012-06-16 02:19:17 +00:00
SemaChecking.cpp Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. 2012-06-16 02:19:17 +00:00
SemaCodeComplete.cpp Documentation cleanup: fix two typos, rief -> brief and Descripts -> Describes 2012-06-17 05:33:25 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp Don't warn about address-to-member used as part of initialisation, if 2012-06-17 23:10:39 +00:00
SemaDeclAttr.cpp fix PR13071 / rdar://problem/11634669 : 2012-06-18 16:39:04 +00:00
SemaDeclCXX.cpp Documentation cleanup: 2012-06-15 22:23:43 +00:00
SemaDeclObjC.cpp Still more Doxygen documentation fixes: 2012-06-14 21:40:34 +00:00
SemaExceptionSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaExpr.cpp Allow internal decls in inline functions if the function is in the main file. 2012-06-18 17:49:58 +00:00
SemaExprCXX.cpp Documentation cleanup: 2012-06-15 22:23:43 +00:00
SemaExprMember.cpp Documentation cleanup: 2012-06-15 07:13:21 +00:00
SemaExprObjC.cpp Attach fixits for CFBridgingRetain/Release outside any casts. 2012-06-07 01:10:35 +00:00
SemaFixItUtils.cpp Add FixItHint for -Wnull-conversion to initialize with an appropriate literal. 2012-04-30 18:27:22 +00:00
SemaInit.cpp Still more Doxygen documentation fixes: 2012-06-14 21:40:34 +00:00
SemaLambda.cpp Check the parameter lists and return type of both blocks and lambdas 2012-06-15 16:59:29 +00:00
SemaLookup.cpp PR13051: Only suggest the 'template' and 'operator' keywords when performing 2012-06-08 21:35:42 +00:00
SemaObjCProperty.cpp Documentation cleanup: 2012-06-15 07:13:21 +00:00
SemaOverload.cpp Documentation cleanup: 2012-06-15 07:13:21 +00:00
SemaPseudoObject.cpp Change warning to error when property setter names conflict. 2012-05-26 16:10:06 +00:00
SemaStmt.cpp Etch out the code path for MS-style inline assembly. 2012-06-11 20:47:18 +00:00
SemaStmtAttr.cpp Handle C++11 attribute namespaces automatically. 2012-06-18 16:13:52 +00:00
SemaTemplate.cpp Documentation cleanup: 2012-06-15 22:23:43 +00:00
SemaTemplateDeduction.cpp Still more Doxygen documentation fixes: 2012-06-14 21:40:34 +00:00
SemaTemplateInstantiate.cpp Still more Doxygen documentation fixes: 2012-06-14 21:40:34 +00:00
SemaTemplateInstantiateDecl.cpp Documentation cleanup: fixing a typo from my previous 'fix'. 2012-06-17 03:36:08 +00:00
SemaTemplateVariadic.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
SemaType.cpp Handle C++11 attribute namespaces automatically. 2012-06-18 16:13:52 +00:00
TargetAttributesSema.cpp Refactor all the 2012-05-13 03:25:18 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Documentation cleanup: 2012-06-15 07:13:21 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00