- Nov 02, 2012
-
-
Jordan Rose authored
Add FIXMEs for the traits visible from multiple translation units. Currently the macros hide their key types in an anonymous namespace. llvm-svn: 167277
-
Jordan Rose authored
Also, move the REGISTER_*_WITH_PROGRAMSTATE macros to ProgramStateTrait.h. This doesn't get rid of /all/ explicit uses of ProgramStatePartialTrait, but it does get a lot of them. llvm-svn: 167276
-
Jordan Rose authored
No functionality change. llvm-svn: 167275
-
Eli Friedman authored
llvm-svn: 167273
-
Manuel Klimek authored
Often users of the ASTMatchers want to add tasks that are done once per translation unit, for example, cleaning up caches. Combined with the interception point for the end of source file one can add to the factory creation, this covers the cases we've seen users need. llvm-svn: 167271
-
Richard Trieu authored
')', if found. Don't crash. Fixes PR11852. llvm-svn: 167268
-
Quentin Colombet authored
llvm-svn: 167266
-
- Nov 01, 2012
-
-
Richard Smith authored
llvm-svn: 167261
-
Richard Smith authored
llvm-svn: 167260
-
Richard Smith authored
separate functions, since they share essentially no code. llvm-svn: 167259
-
Richard Smith authored
g++'s -ftrapv, failed to call the -ftrapv overflow handler, and are still available under -fcatch-undefined-behavior. llvm-svn: 167258
-
Richard Trieu authored
llvm-svn: 167252
-
Matt Beaumont-Gay authored
llvm-svn: 167249
-
Fariborz Jahanian authored
generation for captured block variables in arc mode. This includes inlined version of the meta-data when it can be done. It also includes severat tests. This is wip. // rdar://12184410. llvm-svn: 167241
-
Argyrios Kyrtzidis authored
preserve the macro location of the range end if the filename came from a macro. Patch by Kim Gräsman! llvm-svn: 167239
-
Rafael Espindola authored
llvm-svn: 167232
-
Richard Smith authored
We want the diagnostic, and if the load is optimized away, we still want to trap it. Stop checking non-default address spaces; that doesn't work in general. llvm-svn: 167219
-
Richard Smith authored
llvm-svn: 167211
-
Richard Smith authored
and apparently unused (and since they are untested, they're presumably also broken). llvm-svn: 167210
-
Argyrios Kyrtzidis authored
the receiver of an ObjC message expression. rdar://12578643 llvm-svn: 167201
-
Jordan Rose authored
llvm-svn: 167189
-
Jordan Rose authored
No functionality change. llvm-svn: 167187
-
Jordan Rose authored
(and the same for isFalse) No functionality change. llvm-svn: 167186
-
Eli Friedman authored
llvm-svn: 167184
-
- Oct 31, 2012
-
-
Anna Zaks authored
Thanks Ted. llvm-svn: 167176
-
Chad Rosier authored
matching works correctly. Part of rdar://12329974 llvm-svn: 167173
-
Argyrios Kyrtzidis authored
The stat cache became essentially useless ever since we started validating all file entries in the PCH. But the motivating reason for removing it now is that it also affected correctness in this situation: -You have a header without include guards (using "#pragma once" or #import) -When creating the PCH: -The same header is referenced in an #include with different filename cases. -In the PCH, of course, we record only one file entry for the header file -But we cache in the PCH file the stat info for both filename cases -Then the source files are updated and the header file is updated in a way that its size and modification time are the same but its inode changes -When using the PCH: -We validate the headers, we check that header file and we create a file entry with its current inode -There's another #include with a filename with different case than the previously created file entry -In order to get its stat info we go through the cached stat info of the PCH and we receive the old inode -because of the different inodes, we think they are different files so we go ahead and include its contents. Removing the stat cache will potentially break clients that are attempting to use the stat cache as a way of avoiding having the actual input files available. If that use case is important, patches are welcome to bring it back in a way that will actually work correctly (i.e., emit a PCH that is self-contained, coping with literal strings, line/column computations, etc.). This fixes rdar://5502805 llvm-svn: 167172
-
Chad Rosier authored
that matching works correctly. Part of rdar://12329974 llvm-svn: 167161
-
Manman Ren authored
According to the spec, we can backfill VFP registers that were skipped due to alignment constraints. llvm-svn: 167159
-
Rafael Espindola authored
I will remove it from llvm in the next commit. llvm-svn: 167156
-
Alexander Kornienko authored
Summary: -ast-dump-filter implementation used to stop AST traversal after traversing a NULL Decl node. Added test and fixed. Reviewers: djasper, klimek, rsmith Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D93 llvm-svn: 167155
-
Chad Rosier authored
diagnostics script. This addresses the FIXME pertaining to quoted arguments. We also delineate between those flags that have an argument (e.g., -D macro, -MF file) and those that do not (e.g., -M, -MM, -MG). Finally, we add the -dwarf-debug-flags to the list of flags to be removed. rdar://12329974 llvm-svn: 167152
-
Ulrich Weigand authored
llvm-svn: 167148
-
Argyrios Kyrtzidis authored
without using tentative parsing. llvm-svn: 167142
-
Argyrios Kyrtzidis authored
add a test to make sure code-completion skips bodies. llvm-svn: 167141
-
Jordan Rose authored
Previously, every call to a ConstraintManager's isNull would do a full assumeDual to test feasibility. Now, ConstraintManagers can override checkNull if they have a cheaper way to do the same thing. RangeConstraintManager can do this in less than half the work. <rdar://problem/12608209> llvm-svn: 167138
-
Simon Atanasyan authored
llvm-svn: 167118
-
Simon Atanasyan authored
is not a directory, Driver::GetProgramPath() routine does not try to append the program name as a "path component" to it. It just joins the "prefix" with the program name and checks the resulting path existence. The patch reviewed by Rafael Espindola. llvm-svn: 167114
-
Anna Zaks authored
llvm-svn: 167099
-
Rafael Espindola authored
llvm-svn: 167093
-