| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename namespace clang::printf to clang::analyze_printf to avoid problems ↵ | Ted Kremenek | 2010-01-28 | 1 | -4/+4 |
| | | | | | | | where the reference to 'printf' is ambiguous. llvm-svn: 94733 | ||||
| * | Access control for overloaded call operators. Not for surrogates yet, | John McCall | 2010-01-28 | 1 | -0/+5 |
| | | | | | | | | | mostly because we're going to want a better diagnostic for conversions. Also this API needs to go back to sanity. llvm-svn: 94730 | ||||
| * | Access checking for overloaded operators. | John McCall | 2010-01-28 | 3 | -5/+32 |
| | | | | | llvm-svn: 94725 | ||||
| * | Fixes a rewrite bug rewriting nested ivars reference. | Fariborz Jahanian | 2010-01-28 | 2 | -6/+11 |
| | | | | | | | (Radar 7583971). llvm-svn: 94724 | ||||
| * | Add placeholder function in Sema for new format string checking logic. | Ted Kremenek | 2010-01-28 | 2 | -1/+25 |
| | | | | | | | | | This function will use the format string parsing logic in libAnalysis, and once it is shown to be better than the current implementation it will replace AlternateCheckPrintfString() entirely. llvm-svn: 94721 | ||||
| * | Fix 80 col violation. | Ted Kremenek | 2010-01-28 | 1 | -1/+3 |
| | | | | | llvm-svn: 94717 | ||||
| * | Allow HandleFormatSpecifier() to indicate that no more processing of the ↵ | Ted Kremenek | 2010-01-28 | 1 | -1/+2 |
| | | | | | | | format string is desired. llvm-svn: 94715 | ||||
| * | Add '@' conversion specifier. | Ted Kremenek | 2010-01-28 | 1 | -4/+5 |
| | | | | | llvm-svn: 94713 | ||||
| * | While emitting debugging infor for a C++ class, identify the holder of ↵ | Devang Patel | 2010-01-28 | 1 | -1/+11 |
| | | | | | | | class's vtable, if any. llvm-svn: 94712 | ||||
| * | Include "this" pointer argument while emitting debug info for a C++ method. | Devang Patel | 2010-01-28 | 2 | -1/+41 |
| | | | | | llvm-svn: 94710 | ||||
| * | Remove invalid conversion specifiers from format string checking. | Ted Kremenek | 2010-01-28 | 2 | -10/+0 |
| | | | | | llvm-svn: 94707 | ||||
| * | Add a few more conversion specifiers to ParseFormatSpecifier (these appear ↵ | Ted Kremenek | 2010-01-28 | 1 | -20/+27 |
| | | | | | | | in SemaChecking). llvm-svn: 94704 | ||||
| * | Add skeleton for a more structured way to analyzing pring format | Ted Kremenek | 2010-01-27 | 2 | -0/+240 |
| | | | | | | | | | | | | | | | | | | | | | | | strings than what we currently have in Sema. This is both an experiment and a WIP. The idea is simple: parse the format string incrementally, constructing a well-structure representation of each format specifier. Each format specifier is then handed back one-by-one to a client via a callback. Malformed format strings are also handled with callbacks. The idea is to separate the parsing of the format string from the emission of diagnostics. Currently what we have in Sema for handling format strings is a mongrel of both that is hard to follow and difficult to modify (I can apply this label since I'm the original author of that code). This is in libAnalysis as it is reasonable generic and can potentially be used both by libSema and libChecker. Comments welcome. llvm-svn: 94702 | ||||
| * | Remove ModuleProviders from clang after r94686 removed them from LLVM. | Jeffrey Yasskin | 2010-01-27 | 1 | -8/+4 |
| | | | | | llvm-svn: 94688 | ||||
| * | ARM/APCS: Fix alignment of long double. | Daniel Dunbar | 2010-01-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 94685 | ||||
| * | Move more naming conventions logic out of the retain/release checker to ↵ | Ted Kremenek | 2010-01-27 | 2 | -87/+77 |
| | | | | | | | CocoaConventions.h. llvm-svn: 94682 | ||||
| * | Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and, | Ken Dyck | 2010-01-27 | 6 | -37/+43 |
| | | | | | | | | now that the "InBytes" part of the name is implied by the return type, rename it to getDeclAlign(). llvm-svn: 94681 | ||||
| * | Use raw_ostreams in Preprocessor::ExpandBuiltinMacro. Still not nice but ↵ | Benjamin Kramer | 2010-01-27 | 1 | -19/+17 |
| | | | | | | | less fragile than the old code. llvm-svn: 94679 | ||||
| * | Add missing call to Optional<...>.getValue() that was pointed out by Chandler. | Ted Kremenek | 2010-01-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 94678 | ||||
| * | Use getTypeAlignInChars() for alignment in VisitSizeOfAlignOfExpr(). | Ken Dyck | 2010-01-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 94677 | ||||
| * | Unique ObjC strings (GNU Runtime); fix for PR6142. Note: Doing this in the ↵ | David Chisnall | 2010-01-27 | 1 | -2/+10 |
| | | | | | | | runtime-specific code is a bit ugly. It would be a good idea to hoist all of the string / protocol uniqueing code up into CGObjCRuntime or CodeGenModule and only handle emitting the original versions in the runtime-specific code. llvm-svn: 94676 | ||||
| * | fix a bug in the _MM_TRANSPOSE4_PS definition, patch by Brian Sumner from | Chris Lattner | 2010-01-27 | 1 | -1/+1 |
| | | | | | | | PR6138 llvm-svn: 94669 | ||||
| * | Remove unnecessary ASTContext* argument from isRefType(). | Ted Kremenek | 2010-01-27 | 1 | -5/+5 |
| | | | | | llvm-svn: 94665 | ||||
| * | Update CMake build. | Ted Kremenek | 2010-01-27 | 1 | -0/+1 |
| | | | | | llvm-svn: 94663 | ||||
| * | Start pulling out pieces of the monolithic retain/release checker into | Ted Kremenek | 2010-01-27 | 2 | -125/+134 |
| | | | | | | | | | | reusable and modular API pieces. Start by pulling the logic for deriving the Cocoa naming convention into a separate API, header, and source file. llvm-svn: 94662 | ||||
| * | Fix a major oversight in the comparison of standard conversion | Douglas Gregor | 2010-01-27 | 4 | -39/+81 |
| | | | | | | | | | | | | | | | sequences, where we would occasionally determine (incorrectly) that one standard conversion sequence was a proper subset of another when, in fact, they contained completely incomparable conversions. This change records the types in each step within a standard conversion sequence, so that we can check the specific comparison types to determine when one sequence is a proper subset of the other. Fixes this testcase (thanks, Anders!), which was distilled from PR6095 (also thanks to Anders). llvm-svn: 94660 | ||||
| * | Implement access-check delays for out-of-line member definitions | John McCall | 2010-01-27 | 3 | -28/+136 |
| | | | | | | | using the same framework we use for deprecation warnings. llvm-svn: 94659 | ||||
| * | Add support for 3dnow and 3dnowa, and define the target macros accordingly. ↵ | Anders Carlsson | 2010-01-27 | 1 | -1/+23 |
| | | | | | | | (This is needed in order to build Qt). llvm-svn: 94658 | ||||
| * | Structs and classes with non-trivial destructors or copy constructors should ↵ | Anders Carlsson | 2010-01-27 | 1 | -2/+10 |
| | | | | | | | be passed indirectly in the 32-bit ABI. Fixes PR6094. llvm-svn: 94656 | ||||
| * | Implement access control for overloaded functions. Suppress access control | John McCall | 2010-01-27 | 8 | -96/+214 |
| | | | | | | | | diagnostics in "early" lookups, such as during typename checks and when building unresolved lookup expressions. llvm-svn: 94647 | ||||
| * | Driver/Darwin: Eliminate invalid uses of DarwinVersion -- this fixes a number of | Daniel Dunbar | 2010-01-27 | 2 | -22/+11 |
| | | | | | | | defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector). llvm-svn: 94642 | ||||
| * | Driver/Darwin: Simplify target version checks. | Daniel Dunbar | 2010-01-27 | 3 | -65/+32 |
| | | | | | llvm-svn: 94641 | ||||
| * | Driver/Darwin: Fix a few link arguments when targetting different iPhoneOS | Daniel Dunbar | 2010-01-27 | 2 | -7/+26 |
| | | | | | | | versions to match gcc (which is matching linker changes). llvm-svn: 94640 | ||||
| * | Driver/Darwin: Switch clang -triple synthesis to use computed target ↵ | Daniel Dunbar | 2010-01-27 | 1 | -31/+17 |
| | | | | | | | information. llvm-svn: 94639 | ||||
| * | Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actually | Daniel Dunbar | 2010-01-27 | 3 | -38/+19 |
| | | | | | | | just indicating whether the default target should be iPhoneOS. llvm-svn: 94638 | ||||
| * | Driver/Darwin: Switch to using isTargetIPhoneOS where appropriate. | Daniel Dunbar | 2010-01-27 | 2 | -7/+7 |
| | | | | | llvm-svn: 94637 | ||||
| * | Driver/Darwin: Track target platform more explicitly in tool chain, eventually | Daniel Dunbar | 2010-01-27 | 3 | -13/+78 |
| | | | | | | | | this should just be part of the tool chain itself once we have eliminated argument translation. llvm-svn: 94635 | ||||
| * | Teach RegionStore to handle initialization of incomplete arrays in ↵ | Ted Kremenek | 2010-01-26 | 1 | -11/+18 |
| | | | | | | | structures using a compound value. Fixes <rdar://problem/7515938>. llvm-svn: 94622 | ||||
| * | Move 'LocalCheckers.h' to the 'Checkers' subdirectory. | Ted Kremenek | 2010-01-26 | 12 | -12/+12 |
| | | | | | llvm-svn: 94609 | ||||
| * | Move 'include/Checkers/PathSensitive/Checkers' directory to 'include/Checkers'. | Ted Kremenek | 2010-01-26 | 2 | -2/+2 |
| | | | | | llvm-svn: 94608 | ||||
| * | Patch to add 'volatile' to first argument of all | Fariborz Jahanian | 2010-01-26 | 1 | -0/+3 |
| | | | | | | | | | sync compare_and_swap to match them with gcc. It also fixes a few incorrect argument defitions. (fixes radar 7540291). llvm-svn: 94607 | ||||
| * | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -0/+6 |
| | | | | | | | to the declaring class from the nearest virtual base class. WIP. llvm-svn: 94606 | ||||
| * | Bring some semblance of order into Decl.h and Decl.cpp. While at it, fix ↵ | Sebastian Redl | 2010-01-26 | 1 | -235/+247 |
| | | | | | | | some typo comments and remove an unused and unimplemented function prototype. No functionality change. llvm-svn: 94599 | ||||
| * | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -7/+24 |
| | | | | | | | | | to the declaring class from the nearest virtual base class. WIP. This fixes 40% of all the problems remaining in one of my testcases. llvm-svn: 94592 | ||||
| * | Added assert to the rewrite. | Fariborz Jahanian | 2010-01-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 94584 | ||||
| * | Convert one last size variable to CharUnits (follow-on to 94577). | Ken Dyck | 2010-01-26 | 1 | -2/+3 |
| | | | | | llvm-svn: 94579 | ||||
| * | Use CharUnits for sizes, offsets, alignments, and padding amounts for values | Ken Dyck | 2010-01-26 | 1 | -35/+39 |
| | | | | | | | that are in character units. llvm-svn: 94577 | ||||
| * | Fix typo in comment | Douglas Gregor | 2010-01-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 94576 | ||||
| * | Use CharUnits for alignments in character units. | Ken Dyck | 2010-01-26 | 3 | -14/+17 |
| | | | | | llvm-svn: 94571 | ||||
| * | Use CharUnits for alignment of UTF16 string in GetAddrOfConstantCFString(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 94564 | ||||

