- Jul 24, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76908
-
Anders Carlsson authored
llvm-svn: 76907
-
Mike Stump authored
llvm-svn: 76906
-
-
- Jul 23, 2009
-
-
Anders Carlsson authored
llvm-svn: 76903
-
Ted Kremenek authored
llvm-svn: 76901
-
Ted Kremenek authored
This implements <rdar://problem/6336718> and checks for CERT secure coding advisory FLP30-C. llvm-svn: 76900
-
Anders Carlsson authored
llvm-svn: 76898
-
Daniel Dunbar authored
llvm-svn: 76897
-
Daniel Dunbar authored
regardless of the architecture). - This is a good default for development & testing; for example without this any tests using 'clang' in the test suite will fail on PowerPC, since the driver will avoid using clang. - We don't want to actually ship something built this way, but that should be handled via some sort of configuration file. llvm-svn: 76886
-
Daniel Dunbar authored
llvm-svn: 76885
-
Anders Carlsson authored
We don't need to keep track of the packed alignment, just whether the struct is packed or not. Fixes PR4610. llvm-svn: 76884
-
Anders Carlsson authored
Move the LLVM field number for bit fields into the BitFieldInfo structure, since it's meaning is completely different than for non-bit fields. llvm-svn: 76882
-
Douglas Gregor authored
point that covers templates and non-templates. This should eliminate the flood of warnings I introduced yesterday. Removed the ActOnClassTemplate action, which is no longer used. llvm-svn: 76881
-
Douglas Gregor authored
llvm-svn: 76878
-
Zhongxing Xu authored
- Root is the main function or 0. - ExternalCallingNode has edges to all external functions. llvm-svn: 76876
-
Zhongxing Xu authored
- change the DenseMap used in callgraph to std::map, since DenseMap cannot be used with mapped_iterator and friends. llvm-svn: 76874
-
Zhongxing Xu authored
llvm-svn: 76873
-
Zhongxing Xu authored
llvm-svn: 76871
-
Daniel Dunbar authored
llvm-svn: 76870
-
Daniel Dunbar authored
llvm-svn: 76862
-
Daniel Dunbar authored
being masked by previous bug. llvm-svn: 76858
-
Daniel Dunbar authored
- As it happens, this also fixes a use-of-uninitialized memory that was causing non-deterministic test failures. llvm-svn: 76857
-
Anders Carlsson authored
llvm-svn: 76856
-
Anders Carlsson authored
Use arrays as union padding. Also, since the resulting struct will always contain a single element and either a single i8 element or an array of i8s, there's no reason to use a packed struct. llvm-svn: 76854
-
Daniel Dunbar authored
--- Reverse-merging r76831 into '.': U include/clang/Analysis/PathSensitive/GRExprEngine.h U lib/Analysis/GRExprEngine.cpp llvm-svn: 76851
-
Anders Carlsson authored
llvm-svn: 76847
-
Anders Carlsson authored
llvm-svn: 76846
-
Anders Carlsson authored
Check in CGRecordLayoutBuilder which is a reimplementation of the record layout code. (Yay, no more packed structs unless absolutely necessary). We currently don't use the layouts being built but that will change when the new code is mature enough :) llvm-svn: 76845
-
Daniel Dunbar authored
Technically we could still do a bit more to avoid deferred generation of statics which we know are used, but I seriously doubt this is important. llvm-svn: 76844
-
Ted Kremenek authored
llvm-svn: 76833
-
Ted Kremenek authored
llvm-svn: 76832
-
Ted Kremenek authored
llvm-svn: 76831
-
Steve Naroff authored
- Move Sema::ObjCQualifiedIdTypesAreCompatible(), Sema::QualifiedIdConformsQualifiedId(), and a couple helper functions to ASTContext. - Change ASTContext::canAssignObjCInterfaces() to use ASTContext:: ObjCQualifiedIdTypesAreCompatible(). - Tweak several test cases to accommodate the new/improved type checking. llvm-svn: 76830
-
Fariborz Jahanian authored
CXXBaseOrMemberInitializer AST node. Needed by its clients to do the initialization. llvm-svn: 76826
-
Mike Stump authored
filesystems. llvm-svn: 76824
-
Mike Stump authored
value. This is on by default, and controlled by -Wreturn-type (-Wmost -Wall). I believe there should be very few false positives, though the most interesting case would be: int() { bar(); } when bar does: bar() { while (1) ; } Here, we assume functions return, unless they are marked with the noreturn attribute. I can envision a fixit note for functions that never return normally that don't have a noreturn attribute to add a noreturn attribute. If anyone spots other false positives, let me know! llvm-svn: 76821
-
Douglas Gregor authored
templates, e.g., template<typename T> struct Outer { struct Inner; }; template<typename T> struct Outer<T>::Inner { // ... }; Implementing this feature required some extensions to ActOnTag, which now takes a set of template parameter lists, and is the precursor to removing the ActOnClassTemplate function from the parser Action interface. The reason for this approach is simple: the parser cannot tell the difference between a class template definition and the definition of a member of a class template; both have template parameter lists, and semantic analysis determines what that template parameter list means. There is still some cleanup to do with ActOnTag and ActOnClassTemplate. This commit provides the basic functionality we need, however. llvm-svn: 76820
-
Eli Friedman authored
llvm-svn: 76816
-
Argyrios Kyrtzidis authored
Now when creating a Preprocessor we can pass it a temporary LangOptions object instead of having to remember to keep it around. llvm-svn: 76815
-