| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Simplify and "robust-ify" the way that CXXRecord references point to the ↵ | Argyrios Kyrtzidis | 2010-10-24 | 3 | -58/+35 |
| | | | | | | | | | definition data when loaded from PCH. Temporary disable 'test/PCH/chain-cxx.cpp' until a better way to fix it is in place. llvm-svn: 117234 | ||||
| * | Minor refactoring; Pull reading/writing DefinitionData out into a function. | Argyrios Kyrtzidis | 2010-10-24 | 2 | -89/+96 |
| | | | | | llvm-svn: 117233 | ||||
| * | - Fixed subexpressions evaluation order for binary operators to match order ↵ | Marcin Swiderski | 2010-10-24 | 1 | -7/+9 |
| | | | | | | | | | in code generated with the compiler, - Fixed test cases for unreachable code warnings produced by Sema. llvm-svn: 117220 | ||||
| * | C++ [basic.scope.hiding] allows an ordinary name to hide a non-tag | Douglas Gregor | 2010-10-23 | 1 | -2/+7 |
| | | | | | | | | name *in the same scope*, but not across scopes. Implement the highlighted condition. llvm-svn: 117212 | ||||
| * | Update remaining attribute macros to new style. | Chandler Carruth | 2010-10-23 | 2 | -5/+3 |
| | | | | | llvm-svn: 117204 | ||||
| * | Update to use 'LLVM_*' macro names for attributes. | Chandler Carruth | 2010-10-23 | 1 | -2/+2 |
| | | | | | llvm-svn: 117201 | ||||
| * | Warn if a variable marked with the "unused" attribute is used. Patch by ↵ | Anders Carlsson | 2010-10-22 | 2 | -1/+9 |
| | | | | | | | Darin Adler! llvm-svn: 117184 | ||||
| * | Parse attributes on enumerators and instantiate attributes on enum decls. | John McCall | 2010-10-22 | 3 | -9/+20 |
| | | | | | llvm-svn: 117182 | ||||
| * | In the presence of using declarations, we can find the same class | Douglas Gregor | 2010-10-22 | 1 | -30/+66 |
| | | | | | | | | | members in class subobjects of different types. So long as the underlying declaration sets are the same, and the declaration sets involve non-instance members, this is not an ambiguity. llvm-svn: 117163 | ||||
| * | Fix '-analyzer-display-progress' for Objective-C methods. Also remove ↵ | Ted Kremenek | 2010-10-22 | 1 | -13/+5 |
| | | | | | | | obsolete code. llvm-svn: 117161 | ||||
| * | After discussion with Doug and John, I am reverting | Fariborz Jahanian | 2010-10-22 | 3 | -27/+2 |
| | | | | | | | the patch. llvm-svn: 117159 | ||||
| * | Change handling of inline asm 'p' constraint to match llvm-gcc. | Dale Johannesen | 2010-10-22 | 1 | -0/+2 |
| | | | | | llvm-svn: 117149 | ||||
| * | Substantially revise how clang computes the visibility of a declaration to | John McCall | 2010-10-22 | 9 | -277/+382 |
| | | | | | | | | | more closely parallel the computation of linkage. This gets us to a state much closer to what gcc emits, modulo bugs, which will undoubtedly arise in abundance. llvm-svn: 117147 | ||||
| * | Patch fixes miscompile with non-trivial copy constructors and | Fariborz Jahanian | 2010-10-22 | 3 | -2/+27 |
| | | | | | | | statement expressions, //rdar: //8540501 llvm-svn: 117146 | ||||
| * | Delay record type's debug info emission, in -flimit-debug-info mode, if ↵ | Devang Patel | 2010-10-22 | 1 | -1/+2 |
| | | | | | | | member expression's base is call expr. llvm-svn: 117127 | ||||
| * | Revert unintentional check-in. | Devang Patel | 2010-10-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 117120 | ||||
| * | Don't try to guess svn version when current path is a symlink. | Oscar Fuentes | 2010-10-22 | 1 | -1/+3 |
| | | | | | | | See PR 8473. llvm-svn: 117110 | ||||
| * | Tidy up MIPS_linkage name. Provide it only if it does not match regular ↵ | Devang Patel | 2010-10-22 | 1 | -5/+18 |
| | | | | | | | | | name, otherwise it confuses debugger. This is tested by local.C in llvmgcc testsuite. llvm-svn: 117107 | ||||
| * | More class anonymization. | Benjamin Kramer | 2010-10-22 | 4 | -7/+13 |
| | | | | | llvm-svn: 117106 | ||||
| * | Move classes into anonymous namespaces. | Benjamin Kramer | 2010-10-22 | 2 | -18/+21 |
| | | | | | llvm-svn: 117104 | ||||
| * | When performing name lookup for a namespace definition, only look into | Douglas Gregor | 2010-10-22 | 1 | -9/+11 |
| | | | | | | | | the current context's redeclaration context, ignoring using directives. Fixes PR8430. llvm-svn: 117097 | ||||
| * | Teach the C++ simple-type-specifier parser and tentative parses about | Douglas Gregor | 2010-10-21 | 4 | -66/+118 |
| | | | | | | | protocol-qualified types such as id<Protocol>. llvm-svn: 117081 | ||||
| * | Rename clang's TBAA tree root from "experimental" to "simple". | Dan Gohman | 2010-10-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 117046 | ||||
| * | Tweak diagnostics for redeclaration of a @property in a class extension ↵ | Ted Kremenek | 2010-10-21 | 1 | -1/+10 |
| | | | | | | | | | | | where the redelcaration and original declaration have the 'readwrite' attribute. This is a common case, and we can issue a more lucid diagnostic. Fixes <rdar://problem/7629420>. llvm-svn: 117045 | ||||
| * | Tidy up comment (remove extraneous text). | Ted Kremenek | 2010-10-21 | 1 | -2/+1 |
| | | | | | llvm-svn: 117044 | ||||
| * | Add some more comments. | Dan Gohman | 2010-10-21 | 2 | -4/+20 |
| | | | | | llvm-svn: 117043 | ||||
| * | Implement the integral promotion rules for the C++0x char16_t and | Douglas Gregor | 2010-10-21 | 1 | -14/+31 |
| | | | | | | | | char32_t character types and enable built-in overloaded operator candidates for these types. Fixes PR8432. llvm-svn: 117038 | ||||
| * | Diagnose the declaration of template template parameters that | Douglas Gregor | 2010-10-21 | 2 | -2/+7 |
| | | | | | | | | | themselves have no template parameters. This is actually a restriction due to the grammar of template template parameters, but we choose to diagnose it in Sema to provide better recovery. llvm-svn: 117032 | ||||
| * | Always treat 'main' as an extern "C" function, so that we detect | Douglas Gregor | 2010-10-21 | 2 | -1/+6 |
| | | | | | | | | | | redeclarations of main appropriately rather than allowing it to be overloaded. Also, disallowing declaring main as a template. Fixes GCC DejaGNU g++.old-deja/g++.other/main1.C. llvm-svn: 117029 | ||||
| * | When checking whether a return statement returns a stack-local | Douglas Gregor | 2010-10-21 | 1 | -4/+11 |
| | | | | | | | | variable, handle conditional operators involving a throw-expression. Fixes GCC DejaGNU's g++.dg/template/cond4.C. llvm-svn: 117027 | ||||
| * | Revert r117005, WIN32 is not predefined after all. | Francois Pichet | 2010-10-21 | 1 | -1/+0 |
| | | | | | llvm-svn: 117026 | ||||
| * | Tweak the ObjCAtSyncChecker to assume that a mutex is non-nil after checking ↵ | Ted Kremenek | 2010-10-21 | 1 | -3/+5 |
| | | | | | | | | | | that it is nil. Otherwise we can get false paths where a second @synchronized using the mutex can have a bogus warning. Fixes <rdar://problem/8578650>. llvm-svn: 117016 | ||||
| * | MSVC defines WIN32 as a predefined macro. | Francois Pichet | 2010-10-21 | 1 | -0/+1 |
| | | | | | llvm-svn: 117005 | ||||
| * | Targets: Fix MinGW and VisualStudio predefined macros. | Michael J. Spencer | 2010-10-21 | 1 | -12/+56 |
| | | | | | llvm-svn: 117003 | ||||
| * | Reorganize predefined macros for all Windows targets. | Michael J. Spencer | 2010-10-21 | 5 | -55/+92 |
| | | | | | | | | | | | This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) llvm-svn: 116999 | ||||
| * | Previously, the printf warnings would say your arguments type was 'int' when ↵ | Ted Kremenek | 2010-10-21 | 2 | -3/+20 |
| | | | | | | | | | | | it was really a 'char' or a 'short'. This fixes that and allows the hints to suggest 'h' modifiers for small ints. Patch by Justin Bogner! llvm-svn: 116996 | ||||
| * | Remove unused variable. | Ted Kremenek | 2010-10-21 | 1 | -1/+0 |
| | | | | | llvm-svn: 116995 | ||||
| * | Fix Whitespace. | Michael J. Spencer | 2010-10-21 | 5 | -132/+132 |
| | | | | | llvm-svn: 116990 | ||||
| * | Revert "Cleanup and fix predefined macros for windows." | Michael J. Spencer | 2010-10-21 | 1 | -72/+53 |
| | | | | | | | Didn't realize this was on my branch ;/. llvm-svn: 116989 | ||||
| * | Cleanup and fix predefined macros for windows. | Michael J. Spencer | 2010-10-21 | 1 | -53/+72 |
| | | | | | llvm-svn: 116988 | ||||
| * | Pass TInfo to CXXDestructorDecl::Create(), just like we do for other | Craig Silverstein | 2010-10-21 | 5 | -10/+8 |
| | | | | | | | | | function decls. Reviewed by rjmccall and nlewycky. llvm-svn: 116979 | ||||
| * | When implicit members are added to a C++ record, notify the serializer so ↵ | Argyrios Kyrtzidis | 2010-10-20 | 1 | -0/+7 |
| | | | | | | | | | that a chained PCH writes the definition again. Thanks to Doug for the hint! llvm-svn: 116975 | ||||
| * | Modify the assumptions of an assert; the updated latest redeclaration can ↵ | Argyrios Kyrtzidis | 2010-10-20 | 1 | -6/+6 |
| | | | | | | | | | have the same location if it's a template specialization pointing at the template. llvm-svn: 116974 | ||||
| * | Remove obsolete GRAuditor and GRSimpleAPICheck, which have been completely ↵ | Ted Kremenek | 2010-10-20 | 2 | -91/+2 |
| | | | | | | | subsumed by the Checker interface. llvm-svn: 116973 | ||||
| * | Convert GRSimpleAPIChecks in BasicObjCFoundationChecks to be Checkers. | Ted Kremenek | 2010-10-20 | 3 | -263/+185 |
| | | | | | llvm-svn: 116971 | ||||
| * | Extend the preprocessing record and libclang with support for | Douglas Gregor | 2010-10-20 | 5 | -33/+154 |
| | | | | | | | | | | inclusion directives, keeping track of every #include, #import, etc. in the translation unit. We keep track of the source location and kind of the inclusion, how the file name was spelled, and the underlying file to which the inclusion resolved. llvm-svn: 116952 | ||||
| * | Fix chained PCH issue; make sure all visible decls that will be put into a ↵ | Argyrios Kyrtzidis | 2010-10-20 | 1 | -1/+18 |
| | | | | | | | UPDATE_VISIBLE block were recorded beforehand. llvm-svn: 116931 | ||||
| * | Minor optimization; Try to iterator over redeclarations only when necessary. | Argyrios Kyrtzidis | 2010-10-20 | 1 | -9/+8 |
| | | | | | llvm-svn: 116930 | ||||
| * | Fixes a potential crash in rewriter when sending message | Fariborz Jahanian | 2010-10-20 | 1 | -12/+17 |
| | | | | | | | to 'super'. llvm-svn: 116928 | ||||
| * | GCC 4.4 warns that Receiver may be used uninitialized in this function. | Duncan Sands | 2010-10-20 | 1 | -1/+1 |
| | | | | | | | | | | As far as I can see, gcc is right to think this! The following change will cause a nice segfault rather than undefined behaviour if this case occurs. Someone who understands what this code is supposed to do should probably take a proper look. llvm-svn: 116917 | ||||

