- Mar 19, 2013
-
-
Jordan Rose authored
(see previous commit) llvm-svn: 177449
-
Jordan Rose authored
The whole reason we were doing a BFS in the first place is because an ExplodedGraph can have cycles. Unfortunately, my removeErrorNode "update" doesn't work at all if there are cycles. I'd still like to be able to avoid doing the BFS every time, but I'll come back to it later. This reverts r177353 / 481fa5071c203bc8ba4f88d929780f8d0f8837ba. llvm-svn: 177448
-
Chad Rosier authored
llvm-svn: 177441
-
Fariborz Jahanian authored
closing rbrace is missing in an ObjC class declaration. Can do beter than this, but it involves addition of overhead which will be present in correct code. // rdar://6854840 llvm-svn: 177435
-
Daniel Jasper authored
Before: switch (x) { case 1: // Do amazing stuff { g(); f(); } } After: switch (x) { case 1: // Do amazing stuff { g(); f(); } } llvm-svn: 177420
-
Adrian Prantl authored
Relax test to allow for attributes on other architectures. Caught by powerpc64-unknown-linux-gnu buildbot. llvm-svn: 177419
-
Alexander Kornienko authored
Summary: This is implementation for /* */ comments only. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D547 llvm-svn: 177415
-
Chad Rosier authored
llvm-svn: 177414
-
Tobias Grosser authored
The code inside cindex.py was comparing NULL pointer returned by clang_parseTranslationUnit and clang_createTranslationUnit with None. However, as illustrated by the two tests I've added, those conditions were ineffective which resulted in assert triggering later on. Instead, a pointer is now treated as a boolean value, a NULL pointer being False. Contributed-by:
Xavier Deguillard <deguilx@gmail.com> llvm-svn: 177408
-
Rafael Espindola authored
llvm-svn: 177402
-
Rafael Espindola authored
If this should not happen, we should have an assert. If it should happen, we should have a test and remove the comment. In no case should we have this self inconsistent code. llvm-svn: 177399
-
Rafael Espindola authored
-no-integrated-as. It is the only assembler we have there. llvm-svn: 177398
-
Alexey Samsonov authored
llvm-svn: 177391
-
John McCall authored
we expect a related result type. rdar://12493140 llvm-svn: 177378
-
Douglas Gregor authored
llvm-svn: 177370
-
Douglas Gregor authored
Minor optimization to r177367 to treat a module with missing dependencies as out-of-date rather than missing. llvm-svn: 177369
-
Rafael Espindola authored
The general pattern now is that Foobar::constructTool only creates tools defined in the tools::foobar namespace and then delegates to the parent. The remaining duplicated code is now in the tools themselves. llvm-svn: 177368
-
rdar://problem/13363214Douglas Gregor authored
<rdar://problem/13363214> Eliminate race condition between module rebuild and the global module index. The global module index was querying the file manager for each of the module files it knows about at load time, to prune out any out-of-date information. The file manager would then cache the results of the stat() falls used to find that module file. Later, the same translation unit could end up trying to import one of the module files that had previously been ignored by the module cache, but after some other Clang instance rebuilt the module file to bring it up-to-date. The stale stat() results in the file manager would trigger a second rebuild of the already-up-to-date module, causing failures down the line. The global module index now lazily resolves its module file references to actual AST reader module files only after the module file has been loaded, eliminating the stat-caching race. Moreover, the AST reader can communicate to its caller that a module file is missing (rather than simply being out-of-date), allowing us to simplify the module-loading logic and allowing the compiler to recover if a dependent module file ends up getting deleted. llvm-svn: 177367
-
Richard Smith authored
it wasn't taking into account that the float should be truncated *before* the range check happens. Thus (unsigned)-0.99 and (unsigned char)255.9 have defined behavior and should not be trapped. llvm-svn: 177362
-
Rafael Espindola authored
llvm-svn: 177360
-
Argyrios Kyrtzidis authored
llvm-svn: 177359
-
Fariborz Jahanian authored
top-level HeaderDoc tags @functiongroup and @methodgroup to doc. tags recognized. // rdar://12379114 llvm-svn: 177358
-
Richard Smith authored
llvm-svn: 177354
-
Jordan Rose authored
Splitting the graph trimming and the path-finding (r177216) already recovered quite a bit of performance lost to increased suppression. We can still do better by also performing the reverse BFS up front (needed for shortest-path-finding) and only walking the shortest path for each report. This does mean we have to walk back up the path and invalidate all the BFS numbers if the report turns out to be invalid, but it's probably still faster than redoing the full BFS every time. More performance work for <rdar://problem/13433687> llvm-svn: 177353
-
Jordan Rose authored
Also, replace a std::string with a SmallString. No functionality change. llvm-svn: 177352
-
Chad Rosier authored
llvm-svn: 177349
-
David Blaikie authored
The previous implementation missed the case where the elif condition was evaluated from the context of an #ifdef that was false causing PR15539. llvm-svn: 177345
-
Bill Wendling authored
llvm-svn: 177344
-
- Mar 18, 2013
-
-
Argyrios Kyrtzidis authored
Issue reported by Tom Honermann! http://llvm.org/bugs/show_bug.cgi?id=15377 llvm-svn: 177336
-
Richard Smith authored
Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations. llvm-svn: 177335
-
Argyrios Kyrtzidis authored
Report and suggested fix by Tom Honermann! http://llvm.org/bugs/show_bug.cgi?id=13020 llvm-svn: 177330
-
Reed Kotler authored
I have filed http://llvm.org/bugs/show_bug.cgi?id=15538 against clang. This code is safer anyway because "cast" assumes you really know that it's okay to make the cast. In this case isa should not be false and dyn_cast should not return null as far as I understand. But everything else is valid so I did not want to revert my previous patch for attributes mips16/nomips16 or use an llvm_unreachable here which would make a number of our tests fail for mips. llvm-svn: 177329
-
Richard Smith authored
llvm-svn: 177325
-
Richard Smith authored
any, and add a note that we cannot treat __int128 as an extended integral type. llvm-svn: 177324
-
Richard Smith authored
reports, and implement implicit definition of inheriting constructors. Remaining missing features: inheriting constructor templates, implicit exception specifications for inheriting constructors, inheriting constructors from dependent bases. llvm-svn: 177320
-
Rafael Espindola authored
llvm-svn: 177319
-
Anna Zaks authored
llvm-svn: 177318
-
Fariborz Jahanian authored
into the pre-preprocessed file to be passed to modern translator when compiling in no debug mode. // rdar://13138170 llvm-svn: 177311
-
Rafael Espindola authored
delegating to Generic_GCC::SelectTool (it already updates the tool map). llvm-svn: 177305
-
Rafael Espindola authored
llvm-svn: 177303
-