llvm-project/clang/lib/Sema
Gabor Greif 16e028617c Factor out enumerator APSInt adjustment into
a helper function (AdjustAPSInt) and use that
for adjusting the high bounds of case ranges
before APSInt comparisons. Fixes
http://llvm.org/bugs/show_bug.cgi?id=8135

Some minor refacorings while I am here.

llvm-svn: 115355
2010-10-01 22:05:14 +00:00
..
AnalysisBasedWarnings.cpp Introduce new CFGElement hierarchy to support C++ CFG, based on Marcin's patch 2010-09-16 01:25:47 +00:00
AttributeList.cpp Add support for attribute((naked)), patch by Zoxc on cfe-commits! 2010-09-29 18:20:25 +00:00
CMakeLists.txt Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
CodeCompleteConsumer.cpp Synchronize globally-cached code completion results with the results 2010-09-23 23:01:17 +00:00
DeclSpec.cpp Implement the C++0x "trailing return type" feature, e.g., 2010-10-01 18:44:50 +00:00
IdentifierResolver.cpp Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them. 2010-08-31 00:36:30 +00:00
JumpDiagnostics.cpp Split out a header to hold APIs meant for the Sema implementation from Sema.h. 2010-08-25 22:03:47 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Sema.cpp Move ExternalSemaSource::ReadMethodPool's implementation to Sema.cpp so that the header can get away with forward declarations only for ObjCMethodList and Selector. Fixes <rdar://8467631>. 2010-09-28 20:23:00 +00:00
SemaAccess.cpp Add a quick-and-dirty hack to give a better diagnostic for [class.protected] 2010-09-03 04:56:05 +00:00
SemaAttr.cpp One who seeks knowledge learns something new every day. 2010-08-26 23:41:50 +00:00
SemaCXXCast.cpp One who seeks knowledge learns something new every day. 2010-08-26 23:41:50 +00:00
SemaCXXScopeSpec.cpp Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them. 2010-08-31 00:36:30 +00:00
SemaChecking.cpp When warning about comparing an unsigned int to being >= 0, don't issue a warning if the zero value was an 2010-09-23 21:43:44 +00:00
SemaCodeComplete.cpp Synchronize globally-cached code completion results with the results 2010-09-23 23:01:17 +00:00
SemaDecl.cpp Better diagnostic for superfluous scope specifier inside a class definition for member functions. + Fixit. 2010-10-01 21:19:28 +00:00
SemaDeclAttr.cpp Add support for attribute((naked)), patch by Zoxc on cfe-commits! 2010-09-29 18:20:25 +00:00
SemaDeclCXX.cpp Move the management of the set of conversion functions in a C++ class 2010-09-29 04:25:11 +00:00
SemaDeclObjC.cpp Diagnose use of incomplete type on method argument type of 2010-09-17 22:07:07 +00:00
SemaExceptionSpec.cpp Emulate (some of) Microsoft's looser semantic checking of exception 2010-08-30 15:04:51 +00:00
SemaExpr.cpp Patch implements passing arrays to functions expecting 2010-09-24 17:30:16 +00:00
SemaExprCXX.cpp Fix a NYI in IRGen which was due to incorrect AST 2010-09-25 01:08:05 +00:00
SemaExprObjC.cpp Patch implements passing arrays to functions expecting 2010-09-24 17:30:16 +00:00
SemaInit.cpp one piece of code is responsible for the lifetime of every aggregate 2010-09-15 10:14:12 +00:00
SemaLookup.cpp zap more dead code. 2010-09-04 18:19:08 +00:00
SemaObjCProperty.cpp Default synthesized ivars don't really have a location in the source. Using the location of the @implementation 2010-09-24 01:23:01 +00:00
SemaOverload.cpp When performing template argument deduction of a function template 2010-09-29 21:14:36 +00:00
SemaStmt.cpp Factor out enumerator APSInt adjustment into 2010-10-01 22:05:14 +00:00
SemaTemplate.cpp Parentheses around address non-type template argument is demoted to an extension warning. 2010-09-13 06:06:58 +00:00
SemaTemplateDeduction.cpp When performing template argument deduction of a function template 2010-09-29 21:14:36 +00:00
SemaTemplateInstantiate.cpp Reinstate r114925 and r114929, both steps toward 2010-09-28 20:50:54 +00:00
SemaTemplateInstantiateDecl.cpp Fix handling of dependent nested namespace specifiers in UsingDecls 2010-09-29 17:58:28 +00:00
SemaType.cpp Implement the C++0x "trailing return type" feature, e.g., 2010-10-01 18:44:50 +00:00
TargetAttributesSema.cpp Split out a header to hold APIs meant for the Sema implementation from Sema.h. 2010-08-25 22:03:47 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Implement the C++0x "trailing return type" feature, e.g., 2010-10-01 18:44:50 +00:00