- Nov 03, 2008
-
-
Zhongxing Xu authored
- Prepare AnonPointeeRegioin for later use. llvm-svn: 58595
-
- Nov 02, 2008
-
-
Sebastian Redl authored
llvm-svn: 58570
-
Cedric Venet authored
Add header files to CMake build solution. It use globing so it doesn't need to be manually maintained, but it won't automatically detect a new header. I think this is a good compromise for the header files, since there presence in the solution is just an help for the user. Moreover, a new header is often introduced with a new cpp source file which need a makefile change, which will regenerate the solution and detect the new header. llvm-svn: 58566
-
Zhongxing Xu authored
llvm-svn: 58565
-
Zhongxing Xu authored
sets the whole struct to Unknown. Then we cannot assume the V passed to BindStruct() is always a CompoundVal. When it is an UnknownVal, we call BindStructToVal(UnknownVal). 2. Change the signature of InitializeStructToUndefined() to BindStructToVal() to reuse the code. llvm-svn: 58564
-
Zhongxing Xu authored
llvm-svn: 58562
-
Eli Friedman authored
the types for size_t and ptrdiff_t more accurate. I think all of these are correct, but please compare the defines for __PTRDIFF_TYPE__ and __SIZE_TYPE__ to gcc to double-check; this particularly applies to those on BSD variants, since I'm not sure what they do here; I assume here that they're the same as on Linux. Fixes wchar_t to be "int", not "unsigned int" (which I think is correct on everything but Windows). Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an somewhat strange choice because it normally gets promoted, and it's not consistent with the choice for size_t. llvm-svn: 58556
-
Ted Kremenek authored
llvm-svn: 58554
-
Ted Kremenek authored
llvm-svn: 58553
-
Ted Kremenek authored
llvm-svn: 58552
-
Ted Kremenek authored
llvm-svn: 58551
-
Ted Kremenek authored
Fixed a horrible bug in HTMLDiagnostics.cpp where bugs referencing source ranges that occur within macros would not be emitted at all. llvm-svn: 58550
-
- Nov 01, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58546
-
Chris Lattner authored
llvm-svn: 58545
-
Daniel Dunbar authored
llvm-svn: 58544
-
Daniel Dunbar authored
llvm-svn: 58542
-
- Oct 31, 2008
-
-
Douglas Gregor authored
llvm-svn: 58538
-
Douglas Gregor authored
conversions. Notes: - Overload resolution for converting constructors need to prohibit user-defined conversions (hence, the test isn't -verify safe yet). - We still use hacks for conversions from a class type to itself. This will be the case until we start implicitly declaring the appropriate special member functions. (That's next on my list) llvm-svn: 58513
-
Anders Carlsson authored
Fix a bug that was introduced in 58501. Ideally I think we should force all targets to set these values and not have defaults. llvm-svn: 58511
-
Ted Kremenek authored
Comment out invalid assertion. I'm leaving it in the code for now as a reminder to produce a test case. llvm-svn: 58510
-
Sebastian Redl authored
llvm-svn: 58509
-
Zhongxing Xu authored
Simplify interface. We can get canonical type from the base region directly. No need for an extra type argument. llvm-svn: 58507
-
Zhongxing Xu authored
llvm-svn: 58506
-
Zhongxing Xu authored
llvm-svn: 58504
-
Sanjiv Gupta authored
llvm-svn: 58503
-
Zhongxing Xu authored
llvm-svn: 58502
-
Sanjiv Gupta authored
etc more generic. For some targets, long may not be equal to pointer size. For example: PIC16 has int as i16, ptr as i16 but long as i32. Also fixed a few build warnings in assert() functions in CFRefCount.cpp, CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp. llvm-svn: 58501
-
Daniel Dunbar authored
llvm-svn: 58500
-
Douglas Gregor authored
Notes: - Constructors are never found by name lookup, so they'll never get pushed into any scope. Instead, they are stored as an OverloadedFunctionDecl in CXXRecordDecl for easy overloading. - There's a new action isCurrentClassName that determines whether an identifier is the name of the innermost class currently being defined; we use this to identify the declarator-id grammar rule that refers to a type-name. - MinimalAction does *not* support parsing constructors. - We now handle virtual and explicit function specifiers. llvm-svn: 58499
-
Daniel Dunbar authored
were being treated as type names for non-Objective-C files. - Other lines are just because MinimalAction didn't have access to the LangOptions. llvm-svn: 58498
-
Daniel Dunbar authored
type. llvm-svn: 58497
-
Zhongxing Xu authored
llvm-svn: 58496
-
Zhongxing Xu authored
llvm-svn: 58495
-
Zhongxing Xu authored
Implement load from struct region. Instead of returning an UnknownVal(), we create a CompoundVal by loading from each field of the struct. llvm-svn: 58494
-
Zhongxing Xu authored
llvm-svn: 58493
-
Zhongxing Xu authored
llvm-svn: 58492
-
Ted Kremenek authored
On Mac OS X, use TMPDIR as the default location to place analysis results. This is a more secure location for such files, and addresses <rdar://problem/6334220>. llvm-svn: 58491
-
Daniel Dunbar authored
recursive types. - Style will be clean up in further patches. llvm-svn: 58490
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58488
-
Zhongxing Xu authored
llvm-svn: 58487
-