- Dec 03, 2009
-
-
Daniel Dunbar authored
llvm-svn: 90379
-
Ted Kremenek authored
Add 'has_feature(cxx_exceptions)' to allow code to determine via preprocessor logic if C++ exceptions are enabled. llvm-svn: 90378
-
Mike Stump authored
llvm-svn: 90377
-
Ted Kremenek authored
llvm-svn: 90376
-
Mike Stump authored
FAIL: g++.old-deja/g++.mike/eh23.C (test for excess errors) llvm-svn: 90374
-
Ted Kremenek authored
llvm-svn: 90368
-
John McCall authored
results in them (which we were doing intentionally as a stopgap). Fix an DeclContext lookup-table ordering problem which was causing UsingDecls to show up incorrectly when looking for ordinary results. And oh hey Clang-Code-Syntax passes now. llvm-svn: 90367
-
Ted Kremenek authored
Add a heuristic to the dead stores checker to prune dead stores for variables annotated with '__block'. This is overly conservative, but now the analyzer doesn't report dead stores for variables that can be updated by a block call. llvm-svn: 90364
-
Sebastian Redl authored
llvm-svn: 90361
-
Eli Friedman authored
llvm-svn: 90360
-
Mike Stump authored
catch very many of them and if we caught all of them, the errors would be annoying. I'm working on this next. WIP. llvm-svn: 90358
-
Mike Stump authored
llvm-svn: 90357
-
Mike Stump authored
code, but to track this down was laborious. llvm-svn: 90356
-
- Dec 02, 2009
-
-
Douglas Gregor authored
constructor, by keeping the DeclaratorInfo* rather than just the type and a single location. llvm-svn: 90355
-
Daniel Dunbar authored
llvm-svn: 90349
-
Daniel Dunbar authored
llvm-svn: 90348
-
Eli Friedman authored
and funcctions declared locally within a function. llvm-svn: 90344
-
John McCall authored
that this was causing a problem, but it could have. llvm-svn: 90343
-
John McCall authored
members. Fixes PR5667. llvm-svn: 90341
-
Mike Stump authored
parameter setup code and set up the catch parameter setup code to protect that code with terminate. llvm-svn: 90340
-
Mike Stump authored
llvm-svn: 90339
-
Mike Stump authored
llvm-svn: 90335
-
Mike Stump authored
llvm-svn: 90334
-
Mike Stump authored
llvm-svn: 90331
-
Mike Stump authored
llvm-svn: 90330
-
Douglas Gregor authored
file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a named file whose size and modification time are known but which may not exist on disk. Added a cute little test that remaps both a .c file and a .h file it includes to alternative files. llvm-svn: 90329
-
Anders Carlsson authored
In Sema, whenever we think that a function is going to cause a vtable to be generated, we mark any virtual implicit member functions as referenced. llvm-svn: 90327
-
Douglas Gregor authored
llvm-svn: 90322
-
John McCall authored
llvm-svn: 90313
-
Daniel Dunbar authored
source files. llvm-svn: 90311
-
Daniel Dunbar authored
llvm-svn: 90310
-
John McCall authored
LookupResult::getAsSingleDecl() is no more. Shift Sema::LookupSingleName to return null on overloaded results. llvm-svn: 90309
-
Mike Stump authored
llvm-svn: 90308
-
Douglas Gregor authored
-remap-file=from;to which takes the file "from" and transparently replaces its contents with the contents of the file "to" from the source manager's perspective. This is the moral equivalent of cp from saved cp to from <call clang> cp saved from rm saved without all of the pesky file copying. llvm-svn: 90307
-
John McCall authored
leaked data structure than before. This kills off the last remaining explicit uses of OverloadedFunctionDecl in Sema. llvm-svn: 90306
-
Mike Stump authored
Highlights include: Add a helper to generate __cxa_free_exception and _ZSt9terminatev. Add a region to handle EH object deallocation for ctor failures for throw. Add a terminate handler for __cxa_end_catch. A framework for adding cleanup actions for the exceptional edges only. llvm-svn: 90305
-
Eli Friedman authored
isVirtual() before we've actually calculated whether the destructor is virtual. llvm-svn: 90303
-
Eli Friedman authored
it's rare, but possible, for the difference to be significant. llvm-svn: 90301
-
Douglas Gregor authored
files with the contents of an arbitrary memory buffer. Use this new functionality to drastically clean up the way in which we handle file truncation for code-completion: all of the truncation/completion logic is now encapsulated in the preprocessor where it belongs (<rdar://problem/7434737>). llvm-svn: 90300
-
Zhongxing Xu authored
we don't need to use the DoneEvaluation hack when check for ObjCMessageExpr. PreVisitObjCMessageExpr() only checks for undefined receiver or arguments. Add checker interface EvalNilReceiver(). This is a 'once-and-done' interface. llvm-svn: 90296
-