- Oct 28, 2008
-
-
Daniel Dunbar authored
being emitted unless needed and doesn't inhibit inlining. - Can be fixed once we implement C99 inline semantics. llvm-svn: 58303
-
Ted Kremenek authored
- Add symbol_iterator support for SymbolicRegions. llvm-svn: 58300
-
Ted Kremenek authored
llvm-svn: 58292
-
- Oct 27, 2008
-
-
Mike Stump authored
llvm-svn: 58291
-
Ted Kremenek authored
llvm-svn: 58289
-
Daniel Dunbar authored
llvm-svn: 58286
-
Daniel Dunbar authored
- Nice if -verify test exercise the various cleanup functions. llvm-svn: 58285
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58282
-
Daniel Dunbar authored
llvm-svn: 58281
-
Ted Kremenek authored
llvm-svn: 58280
-
Ted Kremenek authored
llvm-svn: 58279
-
Ted Kremenek authored
- GRExprEngine::VisitCompoundLiteral... (1) visits the initializer list (generating ExplodedNodes) (2) creates a CompoundMemRegion for the literal (3) creates a new state with the bound literal values using GRStateManager::BindCompoundLiteral - GRStateManager::BindCompoundLiteral simply calls StoreManager::BindCompoundLiteral to get a new store and returns a persistent GRState with that store. - BasicStore::BindCompoundLiteral simply returns the same store, as it doesn't handle field sensitivity - RegionStore::BindCompoundLiteral currently fires an assert (pending discussion of how to best implement mappings for CompoundLiteralRegion). llvm-svn: 58277
-
Ted Kremenek authored
llvm-svn: 58276
-
Ted Kremenek authored
Pull determination of the super region for a VarRegion into a single getVarRegion() method. This provides a common clean API for clients. llvm-svn: 58272
-
Ted Kremenek authored
llvm-svn: 58270
-
Steve Naroff authored
llvm-svn: 58269
-
Daniel Dunbar authored
llvm-svn: 58266
-
Daniel Dunbar authored
- Add support for -MP (phony targets). - Use raw_ostream for output instead of std::string concatenation. - Break long lines in a GCC (4.2) compatible manner. - Output dependents in #included order (to match GCC). llvm-svn: 58265
-
Douglas Gregor authored
- CastExpr is the root of all casts - ImplicitCastExpr is (still) used for all explicit casts - ExplicitCastExpr is now the root of all *explicit* casts - ExplicitCCastExpr (new name needed!?) is a C-style cast in C or C++ - CXXFunctionalCastExpr inherits from ExplicitCastExpr - CXXNamedCastExpr inherits from ExplicitCastExpr and is the root of all of the C++ named cast expression types (static_cast, dynamic_cast, etc.) - Added classes CXXStaticCastExpr, CXXDynamicCastExpr, CXXReinterpretCastExpr, and CXXConstCastExpr to Also, fixed returned-stack-addr.cpp, which broke once when we fixed reinterpret_cast to diagnose double->int* conversions and again when we eliminated implicit conversions to reference types. The fix is in both testcase and SemaChecking.cpp. Most of this patch is simply support for the renaming. There's very little actual change in semantics. llvm-svn: 58264
-
Steve Naroff authored
llvm-svn: 58262
-
Ted Kremenek authored
- Implement child_begin() and child_end() for AsmStmt. Previously these had stub implementations that did not iterate over the input/output operands of an inline assembly statement. - Use ExprIterator for performing iteration over input/output operands. llvm-svn: 58261
-
Steve Naroff authored
llvm-svn: 58253
-
Sebastian Redl authored
llvm-svn: 58252
-
Zhongxing Xu authored
llvm-svn: 58248
-
Zhongxing Xu authored
llvm-svn: 58247
-
Zhongxing Xu authored
llvm-svn: 58245
-
Douglas Gregor authored
When destroying a translation unit, deallocate its owned declarations in reverse order, because there may be dependencies among the declarations. llvm-svn: 58244
-
Zhongxing Xu authored
llvm-svn: 58243
-
Steve Naroff authored
This simplifies debug of this particular diagnostic (and removes some code clutter). llvm-svn: 58242
-
rdar://problem/6315646Steve Naroff authored
Fix <rdar://problem/6315646> clang on xcode: error: invalid operands to binary expression ('id<NSTableViewDelegate>' and 'XCExtendedArrayController *'). There is still a bug here (as the FIXME in the test case indicates). Prior to this patch, the bug would generate an error. Now, we simply do nothing (which is less harmful until we can get it right). The complete bug fix will require changing ASTContext::mergeTypes(), which I'd like to defer for now. llvm-svn: 58241
-
Zhongxing Xu authored
llvm-svn: 58236
-
Zhongxing Xu authored
llvm-svn: 58235
-
Zhongxing Xu authored
llvm-svn: 58234
-
Zhongxing Xu authored
Only loc::MemRegionVal can be modified. This avoids crashing in RegionStore when a function pointer is used as an argument. llvm-svn: 58233
-
Chris Lattner authored
llvm-svn: 58224
-
Chris Lattner authored
darwin or AIX abis. This fixes PR2904. llvm-svn: 58222
-
Chris Lattner authored
t.c:1:13: error: cannot codegen this designators yet int a[10] = {2, 4, [8]=9, 10}; ^~~~~~~~~~~~~~~~~ llvm-svn: 58220
-
Chris Lattner authored
llvm-svn: 58218
-
Chris Lattner authored
support as far as I know. llvm-svn: 58217
-
Chris Lattner authored
objc mode. llvm-svn: 58216
-