| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Save a copy expression for non-trivial copy constructions of catch variables. | John McCall | 2011-02-16 | 10 | -31/+162 |
| | | | | | llvm-svn: 125661 | ||||
| * | Adds a CMake target for the Basic lib's unit tests. Reviewed by | Zhanyong Wan | 2011-02-16 | 1 | -0/+6 |
| | | | | | | | jyasskin and chapuni. llvm-svn: 125657 | ||||
| * | Improves CMakeLists.txt for Clang's unit tests: make "linked | Zhanyong Wan | 2011-02-16 | 1 | -11/+7 |
| | | | | | | | | components" and "used libs" arguments of add_clang_unittest(). Reviewed by jyasskin and chapuni. llvm-svn: 125652 | ||||
| * | Tweak -Warray-bounds diagnostics based on feedback from Chandler. | Ted Kremenek | 2011-02-16 | 3 | -18/+29 |
| | | | | | llvm-svn: 125649 | ||||
| * | CMake: Tweak for Visual Studio 10 quirk at clang-standalone build. | NAKAMURA Takumi | 2011-02-16 | 1 | -0/+9 |
| | | | | | llvm-svn: 125647 | ||||
| * | test/CMakeLists.txt: Don't depend on llvm toolchain at clang-standalone build. | NAKAMURA Takumi | 2011-02-16 | 1 | -3/+7 |
| | | | | | llvm-svn: 125646 | ||||
| * | Revert r125642. This broke the build? It should be a no-op. | Nick Lewycky | 2011-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 125645 | ||||
| * | test/PCH/headersearch.cpp fails on Win32. Not trivial to fix. | Francois Pichet | 2011-02-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 125644 | ||||
| * | Convert the UnpackedAlignment field to CharUnits from bits. No change in | Ken Dyck | 2011-02-16 | 1 | -6/+9 |
| | | | | | | | functionality intended. llvm-svn: 125643 | ||||
| * | Don't use "../foo" to return to the current directory. | Nick Lewycky | 2011-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 125642 | ||||
| * | Convert Alignment member to CharUnits from bits. No change in functionality | Ken Dyck | 2011-02-16 | 1 | -15/+16 |
| | | | | | | | intended. llvm-svn: 125641 | ||||
| * | Add trivial buffer overflow checking in Sema. | Ted Kremenek | 2011-02-16 | 6 | -2/+61 |
| | | | | | llvm-svn: 125640 | ||||
| * | Convert NonVirtualSize to CharUnits from bits. No change in functionality | Ken Dyck | 2011-02-16 | 1 | -7/+9 |
| | | | | | | | intended. llvm-svn: 125639 | ||||
| * | Convert NonVirtualAlignment to CharUnits. No change in functionality | Ken Dyck | 2011-02-16 | 1 | -6/+5 |
| | | | | | | | intended. llvm-svn: 125638 | ||||
| * | [analyzer] AnalyzerFrontend is dependent on AnalyzerCheckers. | Argyrios Kyrtzidis | 2011-02-16 | 1 | -1/+2 |
| | | | | | llvm-svn: 125637 | ||||
| * | [analyzer] Use the new registration mechanism on the apple checkers: | Argyrios Kyrtzidis | 2011-02-16 | 10 | -25/+54 |
| | | | | | | | | | | | NilArgChecker CFNumberCreateChecker NSAutoreleasePoolChecker CFRetainReleaseChecker ClassReleaseChecker llvm-svn: 125636 | ||||
| * | When searching for visible declarations (e.g., for code completion), | Douglas Gregor | 2011-02-16 | 2 | -1/+14 |
| | | | | | | | | be sure to look at all of the Objective-C class declarations within a @class. Fixes <rdar://problem/8876207>. llvm-svn: 125635 | ||||
| * | Simplify test to check an aggregate argument that has non trivial ↵ | Devang Patel | 2011-02-16 | 5 | -23/+20 |
| | | | | | | | | | constructor or destructor. This patch rewrites r125142. llvm-svn: 125632 | ||||
| * | When trying to provide a code completion item for a call to "super" in | Douglas Gregor | 2011-02-16 | 2 | -1/+32 |
| | | | | | | | | Objective-C, also look in the categories and class extensions of our superclasses. Fixes <rdar://problem/8853540>. llvm-svn: 125628 | ||||
| * | Don't call objc_read_weak as part of emitting a block literal. | John McCall | 2011-02-16 | 3 | -34/+5 |
| | | | | | | | | | Nobody ever gave me a clear reason for why we were doing this, and now it's apparently causing serious problems, so if *not* having this causes problems, we get to solve them the right way this time. llvm-svn: 125627 | ||||
| * | Check for deprecated implementation unconditionally. | Fariborz Jahanian | 2011-02-16 | 1 | -5/+1 |
| | | | | | | | Warning and its note will be ignored in default case. llvm-svn: 125621 | ||||
| * | Fix typo (per Chris's comment). | Fariborz Jahanian | 2011-02-16 | 2 | -2/+2 |
| | | | | | llvm-svn: 125619 | ||||
| * | Warn for missing terminating " or ' instead of error for gcc compatibility. ↵ | Argyrios Kyrtzidis | 2011-02-15 | 3 | -4/+11 |
| | | | | | | | Fixed rdar://8914293. llvm-svn: 125616 | ||||
| * | Only c++ class arguments with non trivial constructor or destructor needs a ↵ | Devang Patel | 2011-02-15 | 1 | -1/+1 |
| | | | | | | | | | | reference. C struct arguments do not need this adjustment. This fixes 7 failures in callfuncs.exp from gdb testsuite. llvm-svn: 125615 | ||||
| * | [analyzer] Use the new registration mechanism on some of the experimental ↵ | Argyrios Kyrtzidis | 2011-02-15 | 11 | -32/+44 |
| | | | | | | | | | | | | internal checkers: CastToStructChecker FixedAddressChecker PointerArithChecker PointerSubChecker llvm-svn: 125612 | ||||
| * | [analyzer] Use the new registration mechanism on the IdempotentOperationChecker. | Argyrios Kyrtzidis | 2011-02-15 | 17 | -43/+33 |
| | | | | | llvm-svn: 125611 | ||||
| * | Handle delayed access in local declarations. PR9229. | John McCall | 2011-02-15 | 2 | -10/+29 |
| | | | | | llvm-svn: 125609 | ||||
| * | Teach code completion to cope with block types written without a | Douglas Gregor | 2011-02-15 | 2 | -6/+10 |
| | | | | | | | | prototype, e.g., ^() rather than ^(void). Fixes <rdar://problem/8875712>. llvm-svn: 125608 | ||||
| * | Add a hack to avoid adding '\01' to asm names when possible. It would be | Rafael Espindola | 2011-02-15 | 2 | -4/+15 |
| | | | | | | | | better for clang to always compute the right name, but for now this hack fixes PR9177 and lets us build firefox with LTO :-) llvm-svn: 125607 | ||||
| * | Refactor CGRecordLayoutBuilder to use CharUnits more consistently. | John McCall | 2011-02-15 | 1 | -144/+162 |
| | | | | | llvm-svn: 125605 | ||||
| * | Implement a special code-completion pattern for "IBAction". Fixes | Douglas Gregor | 2011-02-15 | 4 | -4/+31 |
| | | | | | | | <rdar://problem/8767704>. llvm-svn: 125604 | ||||
| * | Fix the distro name. | Rafael Espindola | 2011-02-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 125601 | ||||
| * | Moves FileManagerTest.cpp to unittests/Basic such that the unit test | Zhanyong Wan | 2011-02-15 | 3 | -4/+4 |
| | | | | | | | directory structure matches the library structure. Reviewed by jyasskin. llvm-svn: 125600 | ||||
| * | [analyzer] Remove ObjCSelfInitCheck from AnalyzerOptions. | Argyrios Kyrtzidis | 2011-02-15 | 2 | -5/+0 |
| | | | | | llvm-svn: 125599 | ||||
| * | [analyzer] Use the new registration mechanism on some of the experimental ↵ | Argyrios Kyrtzidis | 2011-02-15 | 17 | -38/+82 |
| | | | | | | | | | | | | | | | | checks. These are: CStringChecker ChrootChecker MallocChecker PthreadLockChecker StreamChecker UnreachableCodeChecker MallocChecker creates implicit dependencies between checkers and needs to be handled differently. llvm-svn: 125598 | ||||
| * | Fix include paths on 32 bit ubuntu 10.10. | Rafael Espindola | 2011-02-15 | 1 | -0/+5 |
| | | | | | | | Original patch by Jonas Bülow. llvm-svn: 125597 | ||||
| * | When code-completing within a list of declaration specifiers, | Douglas Gregor | 2011-02-15 | 5 | -3/+43 |
| | | | | | | | | | separately handle the case of a local declaration-specifier list, including all types in the set of options. Fixes <rdar://problem/8790735> and <rdar://problem/8662831>. llvm-svn: 125594 | ||||
| * | OpenCL: standardise naming of test cases | Peter Collingbourne | 2011-02-15 | 5 | -7/+7 |
| | | | | | llvm-svn: 125590 | ||||
| * | Serialization/deserialization support for floating point #pragma | Peter Collingbourne | 2011-02-15 | 6 | -1/+87 |
| | | | | | | | options, enabled OpenCL extensions and default FP_CONTRACT setting. llvm-svn: 125589 | ||||
| * | OpenCL: semantic analysis support for cl_khr_fp64 extension | Peter Collingbourne | 2011-02-15 | 4 | -0/+25 |
| | | | | | llvm-svn: 125588 | ||||
| * | When we encounter an Objective-C class name in an expression, followed | Douglas Gregor | 2011-02-15 | 2 | -5/+15 |
| | | | | | | | | by the code completion token, treat this as a class message send where the opening square bracket is missing. Fixes <rdar://problem/6970911>. llvm-svn: 125587 | ||||
| * | In -fapple-kext mode, global object construction code | Fariborz Jahanian | 2011-02-15 | 2 | -5/+26 |
| | | | | | | | ends up in the text segment. // rdar://8825235. llvm-svn: 125585 | ||||
| * | Emit in-class member function definitions that are marked | Douglas Gregor | 2011-02-15 | 2 | -0/+21 |
| | | | | | | | "used". Fixes <rdar://problem/8684363>. llvm-svn: 125579 | ||||
| * | Allow resolving headers from a PCH even after headers+PCH were moved to ↵ | Argyrios Kyrtzidis | 2011-02-15 | 10 | -16/+151 |
| | | | | | | | | | | | | another path. Store in PCH the directory that the PCH was originally created in. If a header file is not found at the path that we expect it to be and the PCH file was moved from its original location, try to resolve the file by assuming that header+PCH were moved together and the header is in the same place relative to the PCH. llvm-svn: 125576 | ||||
| * | Refactoring of code to issue warning on implemented | Fariborz Jahanian | 2011-02-15 | 1 | -31/+28 |
| | | | | | | | deprecated class and methods in objective-c. llvm-svn: 125573 | ||||
| * | Add missing CMake dependency | Douglas Gregor | 2011-02-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 125566 | ||||
| * | Fix the clang-wpa example. | Argyrios Kyrtzidis | 2011-02-15 | 5 | -13/+62 |
| | | | | | llvm-svn: 125565 | ||||
| * | Initialize InlineCall in AnalyzerOptions. | Argyrios Kyrtzidis | 2011-02-15 | 1 | -0/+1 |
| | | | | | llvm-svn: 125564 | ||||
| * | Assorted cleanup: | John McCall | 2011-02-15 | 8 | -131/+168 |
| | | | | | | | | | | - Have CGM precompute a number of commonly-used types - Have CGF copy that during initialization instead of recomputing them - Use TBAA info when initializing a parameter variable - Refactor the scalar ++/-- code llvm-svn: 125562 | ||||
| * | Add CMake support to the clang unittests. | Jeffrey Yasskin | 2011-02-15 | 5 | -10/+71 |
| | | | | | llvm-svn: 125561 | ||||

