- Nov 17, 2008
-
-
Ted Kremenek authored
where the control reaches the end of a non-void function and also allows the compiler to generate better code. When this assertion is false we can easily add more else cases. llvm-svn: 59468
-
rdar://problem/6333904Steve Naroff authored
Missing special lookup rule in Sema::ActOnInstanceMessage(). llvm-svn: 59467
-
Douglas Gregor authored
C++ constructors, destructors, and conversion functions now have a FETokenInfo field that IdentifierResolver can access, so that these special names are handled just like ordinary identifiers. A few other Sema routines now use DeclarationNames instead of IdentifierInfo*'s. To validate this design, this code also implements parsing and semantic analysis for id-expressions that name conversion functions, e.g., return operator bool(); The new parser action ActOnConversionFunctionExpr takes the result of parsing "operator type-id" and turning it into an expression, using the IdentifierResolver with the DeclarationName of the conversion function. ActOnDeclarator pushes those conversion function names into scope so that the IdentifierResolver can find them, of course. llvm-svn: 59462
-
rdar://6319320Chris Lattner authored
are trying to use the old GCC "casts as lvalue" extension. We don't and will hopefully never support this. llvm-svn: 59460
-
-
-
Douglas Gregor authored
llvm-svn: 59443
-
Douglas Gregor authored
llvm-svn: 59442
-
Douglas Gregor authored
representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
-
Eli Friedman authored
moment. llvm-svn: 59435
-
Anders Carlsson authored
llvm-svn: 59433
-
- Nov 16, 2008
-
-
Anders Carlsson authored
llvm-svn: 59430
-
Nuno Lopes authored
llvm-svn: 59429
-
Anders Carlsson authored
llvm-svn: 59428
-
Chris Lattner authored
llvm-svn: 59426
-
Anders Carlsson authored
llvm-svn: 59425
-
Chris Lattner authored
llvm-svn: 59424
-
Nuno Lopes authored
Eli please take a look, as I'm not sure if this gets the extension warning in the right place llvm-svn: 59422
-
Nuno Lopes authored
llvm-svn: 59421
-
Anders Carlsson authored
llvm-svn: 59420
-
Chris Lattner authored
defined in a system header should be treated as system header tokens even if they are instantiated in a different place. llvm-svn: 59418
-
Chris Lattner authored
llvm-svn: 59411
-
Anders Carlsson authored
llvm-svn: 59408
-
Zhongxing Xu authored
environment. llvm-svn: 59407
-
Anders Carlsson authored
llvm-svn: 59405
-
Chris Lattner authored
llvm-svn: 59404
-
Zhongxing Xu authored
- RegionView and RegionViewMap is introduced to assist back-mapping from super region to subregions. - GDM is used to carry RegionView information. - AnonTypedRegion is added to represent a typed region introduced by pointer casting. Later AnonTypedRegion can be used in other similar cases, e.g., malloc()'ed region. - The specific conversion is delegated to store manager. llvm-svn: 59382
-
- Nov 15, 2008
-
-
Chris Lattner authored
Patch by Fariborz! llvm-svn: 59377
-
Anders Carlsson authored
llvm-svn: 59375
-
Anders Carlsson authored
llvm-svn: 59372
-
Anders Carlsson authored
llvm-svn: 59371
-
Zhongxing Xu authored
llvm-svn: 59359
-
Anders Carlsson authored
llvm-svn: 59358
-
Zhongxing Xu authored
llvm-svn: 59356
-
Ted Kremenek authored
llvm-svn: 59354
-
Ted Kremenek authored
Reverted part of r59335: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20081110/009243.html In that patch I added a bogus type promotion for unary '!'. The real bug was more fallout from edges cases with compound assignments and conjured symbolic values. Now the conjured value has the type of the LHS expression, and we do a promotion to the computation type. We also now correctly do a conversion from the computation type back to the LHS type. llvm-svn: 59349
-
Ted Kremenek authored
llvm-svn: 59348
-
Anders Carlsson authored
llvm-svn: 59345
-
Ted Kremenek authored
llvm-svn: 59343
-
Ted Kremenek authored
Implement FIXME in GRExprEngine::VisitUnaryOperator() to handle implicit conversions caused by the '!' operator. This required adding some logic to GRSimpleVals to reason about nonloc::LocAsInteger SVals. This code appears to work fine, but it should eventually be cleaned up. llvm-svn: 59335
-