| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Don't test for ASM output but for IR output. | Bill Wendling | 2012-12-04 | 1 | -9/+6 | |
| | | | | | llvm-svn: 169232 | |||||
| * | Refactor recording the preprocessor conditional directive regions out of | Argyrios Kyrtzidis | 2012-12-04 | 14 | -214/+272 | |
| | | | | | | | | | | PreprocessingRecord and into its own class, PPConditionalDirectiveRecord. Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord without needing a PreprocessingRecord. llvm-svn: 169229 | |||||
| * | In the PreprocessingRecord, to identify the different conditional directive ↵ | Argyrios Kyrtzidis | 2012-12-04 | 2 | -23/+26 | |
| | | | | | | | | | regions use the SourceLocation at the start of the respective region, instead of a unique integer. llvm-svn: 169228 | |||||
| * | [libclang] Avoid copying the CompileCommand related strings when wrapping ↵ | Argyrios Kyrtzidis | 2012-12-04 | 1 | -2/+2 | |
| | | | | | | | them to a CXString. llvm-svn: 169227 | |||||
| * | Introduce CompilationDatabase::getAllCompileCommands() that returns all | Argyrios Kyrtzidis | 2012-12-04 | 9 | -10/+116 | |
| | | | | | | | compile commands of the database and expose it via the libclang API. llvm-svn: 169226 | |||||
| * | clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp: Add explicit ↵ | NAKAMURA Takumi | 2012-12-04 | 1 | -1/+1 | |
| | | | | | | | triple, x86_64-unknown-unknown. It was incompatible to i686. llvm-svn: 169220 | |||||
| * | Add a 'count' field to the DWARF subrange. | Bill Wendling | 2012-12-04 | 3 | -6/+35 | |
| | | | | | | | | | | The count field is necessary because there isn't a difference between the 'lo' and 'hi' attributes for a one-element array and a zero-element array. When the count is '0', we know that this is a zero-element array. When it's >=1, then it's a normal constant sized array. When it's -1, then the array is unbounded. llvm-svn: 169219 | |||||
| * | Document the existence of -fsanitize=bounds. | Richard Smith | 2012-12-04 | 1 | -2/+5 | |
| | | | | | llvm-svn: 169207 | |||||
| * | clang/test/Index/comment-objc-decls.m: Try to fix r169193, to add x86_64-darwin. | NAKAMURA Takumi | 2012-12-04 | 1 | -1/+1 | |
| | | | | | llvm-svn: 169199 | |||||
| * | Testing objective-C declarations embedded in | Fariborz Jahanian | 2012-12-04 | 2 | -1/+171 | |
| | | | | | | | | | <declaration> tag of Comment XML and fixed a missing declaration of ivars private to @implementation as result of the testing. // rdar://12378714 llvm-svn: 169193 | |||||
| * | Have clang use LLVM IR's fast-math flags when in FastMath or FiniteMathOnly ↵ | Michael Ilseman | 2012-12-04 | 3 | -0/+36 | |
| | | | | | | | modes. Test cases included. llvm-svn: 169191 | |||||
| * | remove trailing whitespace | Michael Ilseman | 2012-12-04 | 1 | -32/+32 | |
| | | | | | llvm-svn: 169187 | |||||
| * | clang/test/Driver/fsanitize-blacklist.c: Mark it as XFAIL:cygming, due to ↵ | NAKAMURA Takumi | 2012-12-03 | 1 | -0/+3 | |
| | | | | | | | PR12920. llvm-svn: 169180 | |||||
| * | Fix test failure when building Clang with g++4.7 -- don't use a Twine temporary | Richard Smith | 2012-12-03 | 1 | -5/+5 | |
| | | | | | | | after its lifetime has ended! llvm-svn: 169170 | |||||
| * | Fixes a compile warning and crash in the tests. | Manuel Klimek | 2012-12-03 | 1 | -12/+13 | |
| | | | | | | | | | The necessity of this fix points to a problem with the design of the addToken during the optimiation phase, which we need to address in a much more principled way. llvm-svn: 169151 | |||||
| * | Add Clang flags -fsanitize-blacklist and -fno-sanitize-blacklist. Make this ↵ | Alexey Samsonov | 2012-12-03 | 7 | -6/+56 | |
| | | | | | | | flag usable for ASan. Blacklisting can be used to disable sanitizer checks for particular file/function/object. llvm-svn: 169144 | |||||
| * | libclangFormat is not libclangTooling, but it depends on it. | Benjamin Kramer | 2012-12-03 | 2 | -2/+3 | |
| | | | | | llvm-svn: 169139 | |||||
| * | Fix PR14474: don't emit debug info for interface types in -gline-tables-only ↵ | Alexey Samsonov | 2012-12-03 | 2 | -3/+28 | |
| | | | | | | | mode. llvm-svn: 169138 | |||||
| * | Initial version of formatting library. | Daniel Jasper | 2012-12-03 | 12 | -1/+1651 | |
| | | | | | | | | | | | | | | This formatting library will be used by a stand-alone clang-format tool and can also be used when writing other refactorings. Manuel's original design document: https://docs.google.com/a/google.com/document/d/1gpckL2U_6QuU9YW2L1ABsc4Fcogn5UngKk7fE5dDOoA/edit The library can already successfully format itself. Review: http://llvm-reviews.chandlerc.com/D80 llvm-svn: 169137 | |||||
| * | Make hasDeclaration work for enums. | Daniel Jasper | 2012-12-03 | 2 | -2/+10 | |
| | | | | | llvm-svn: 169129 | |||||
| * | Add -fsanitize=memory. | Evgeniy Stepanov | 2012-12-03 | 5 | -0/+45 | |
| | | | | | llvm-svn: 169124 | |||||
| * | [ubsan] Add flag to enable recovery from checks when possible. | Will Dietz | 2012-12-02 | 11 | -32/+82 | |
| | | | | | llvm-svn: 169114 | |||||
| * | Make helper classes anonymous. Make helper functions static instead of ↵ | Benjamin Kramer | 2012-12-01 | 3 | -167/+158 | |
| | | | | | | | | | private members so the anonymous class doesn't leak out. No functionality change. llvm-svn: 169099 | |||||
| * | [MIPS] Add -mxgot/-mno-xgot command line options | Simon Atanasyan | 2012-12-01 | 3 | -0/+21 | |
| | | | | | | | to enable/disable support of GOT larger than 64k. llvm-svn: 169098 | |||||
| * | Add raw_ostream include to pacify MSVC. | Benjamin Kramer | 2012-12-01 | 1 | -0/+1 | |
| | | | | | llvm-svn: 169097 | |||||
| * | Update unit tests not to rely on transitive includes. | Benjamin Kramer | 2012-12-01 | 1 | -0/+1 | |
| | | | | | llvm-svn: 169096 | |||||
| * | Include pruning and general cleanup. | Benjamin Kramer | 2012-12-01 | 31 | -17/+57 | |
| | | | | | llvm-svn: 169095 | |||||
| * | Don't include Type.h in DeclarationName.h. | Benjamin Kramer | 2012-12-01 | 14 | -56/+77 | |
| | | | | | | | Recursively prune some includes. llvm-svn: 169094 | |||||
| * | Make ASTVector.h standalone without including all of ASTContext. | Benjamin Kramer | 2012-12-01 | 1 | -1/+2 | |
| | | | | | llvm-svn: 169093 | |||||
| * | Pull the Attr iteration parts out of Attr.h, so including DeclBase.h doesn't ↵ | Benjamin Kramer | 2012-12-01 | 49 | -252/+335 | |
| | | | | | | | | | | pull in all the generated Attr code. Required to pull some functions out of line, but this shouldn't have a perf impact. No functionality change. llvm-svn: 169092 | |||||
| * | Fix a test that was redefining FileCheck variables while referencing old ones. | Eli Bendersky | 2012-12-01 | 1 | -4/+4 | |
| | | | | | | | In preparation for the FileCheck enhancement to support backreferences. llvm-svn: 169090 | |||||
| * | Switch to using -### as mentioned by chandlerc. | Joey Gouly | 2012-12-01 | 1 | -8/+8 | |
| | | | | | llvm-svn: 169089 | |||||
| * | Add -emit-llvm to test/Driver/fsanitize.c to stop this failing on the ARM ↵ | Joey Gouly | 2012-12-01 | 1 | -8/+8 | |
| | | | | | | | bot. Approved by d0k. llvm-svn: 169088 | |||||
| * | Add .arcconfig to the repository. Useful if someone wants to use ↵ | Benjamin Kramer | 2012-12-01 | 1 | -0/+4 | |
| | | | | | | | phabricator's command line tool. llvm-svn: 169086 | |||||
| * | Fix a typo in comment. | Michael Han | 2012-12-01 | 1 | -1/+1 | |
| | | | | | llvm-svn: 169078 | |||||
| * | Make these functions more clearly express the test they are performing. No ↵ | Richard Smith | 2012-12-01 | 1 | -2/+2 | |
| | | | | | | | functionality change. llvm-svn: 169077 | |||||
| * | Consistently use 'needsImplicit<special member>' to determine whether we need | Richard Smith | 2012-12-01 | 4 | -66/+60 | |
| | | | | | | | | an implicit special member, rather than sometimes using '!hasDeclared<special member>'. No functionality change. llvm-svn: 169075 | |||||
| * | Try to make the source location information for token pastes a bit more ↵ | Eli Friedman | 2012-12-01 | 2 | -17/+51 | |
| | | | | | | | | | | consistent. Fixes a crash printing diagnostics on the gcc testsuite, and also makes diagnostic range printing print nicer results for token pastes. llvm-svn: 169068 | |||||
| * | Remove restriction on combining ubsan with asan or tsan. This has worked for ↵ | Richard Smith | 2012-12-01 | 2 | -9/+8 | |
| | | | | | | | a while. llvm-svn: 169066 | |||||
| * | Fix the determination of whether a capture refers to an enclosing | Douglas Gregor | 2012-12-01 | 2 | -4/+16 | |
| | | | | | | | scope when dealing with nested blocks. Fixes <rdar://problem/12778708>. llvm-svn: 169065 | |||||
| * | Don't emit a warning with an input/output parameter. We assume the user ↵ | Bill Wendling | 2012-11-30 | 2 | -1/+7 | |
| | | | | | | | knows what they're doing here. llvm-svn: 169059 | |||||
| * | Fix test for Windows path separators | Douglas Gregor | 2012-11-30 | 1 | -3/+3 | |
| | | | | | llvm-svn: 169058 | |||||
| * | Teach the serialized diagnostic writer to clone() itself, sharing | Douglas Gregor | 2012-11-30 | 2 | -67/+124 | |
| | | | | | | | | | | | state so that all of the various clones end up rendering their diagnostics into the same serialized-diagnostics file. This is important when we actually want failures during module build to be reported back to the translation unit that tried to import the not-yet-built or out-of-date module. <rdar://problem/12565727> llvm-svn: 169057 | |||||
| * | Don't warn if the input size is less than the register size. Also don't warn if | Bill Wendling | 2012-11-30 | 3 | -7/+19 | |
| | | | | | | | | the output size is greater than the register size. No truncation occurs with those. Reword warning to make it clearer what's the problem is. llvm-svn: 169054 | |||||
| * | Make -Wtautological-constant-out-of-range-compare behave sanely for enums ↵ | Eli Friedman | 2012-11-30 | 2 | -5/+11 | |
| | | | | | | | | | with a signed fixed type. <rdar://problem/12780159>. llvm-svn: 169051 | |||||
| * | Rename ModuleBuildPath -> ModuleBuildStack. Thanks, Dmitri! | Douglas Gregor | 2012-11-30 | 4 | -32/+32 | |
| | | | | | llvm-svn: 169045 | |||||
| * | When we're emitting a diagnostic with a source location in an imported | Douglas Gregor | 2012-11-30 | 8 | -10/+151 | |
| | | | | | | | | | | | | | | | module, provide a module import stack similar to what we would get for an include stack, e.g., In module 'DependsOnModule' imported from build-fail-notes.m:4: In module 'Module' imported from DependsOnModule.framework/Headers/DependsOnModule.h:1: Inputs/Module.framework/Headers/Module.h:15:12: note: previous definition is here @interface Module <rdar://problem/12696425> llvm-svn: 169042 | |||||
| * | Fixing a precedence issue with my previous commit. | Aaron Ballman | 2012-11-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 169041 | |||||
| * | Fixing an MSVC warning about an unsafe mixture of Boolean and unsigned types ↵ | Aaron Ballman | 2012-11-30 | 1 | -1/+1 | |
| | | | | | | | in a logical operator. llvm-svn: 169037 | |||||
| * | Comments: no need to escape any characters in \code ... \endcode. | Dmitri Gribenko | 2012-11-30 | 1 | -6/+6 | |
| | | | | | llvm-svn: 169030 | |||||

