- Jan 24, 2009
-
-
Ted Kremenek authored
Fix crash ElementRegion::getRValueType() when the RvalueType of the ArrayRegion is a typedef and not (directly) a pointer. llvm-svn: 62909
-
Ted Kremenek authored
More hacking on static analyzer diagnostics. When emitting summary diagnostics the code paths for diagnostics involving paths or single locations are now unified. This patch also constifies many arguments/methods that are touched by this logic, leading to a nice overall code cleanup. llvm-svn: 62903
-
Fariborz Jahanian authored
meta-data generation. llvm-svn: 62894
-
- Jan 23, 2009
-
-
Douglas Gregor authored
llvm-svn: 62886
-
Ted Kremenek authored
llvm-svn: 62885
-
Douglas Gregor authored
llvm-svn: 62884
-
Douglas Gregor authored
Make sure that we know a call is invalid if we dropped arguments. llvm-svn: 62882
-
Douglas Gregor authored
llvm-svn: 62876
-
Ted Kremenek authored
Added clang option '--analyzer-display-progress' to indicate that the analyzer should output 'ANALYZE:' messages to display its progress on a source file. llvm-svn: 62875
-
Ted Kremenek authored
Added virtual method DiagnosticClient::IncludeInDiagnosticCounts(). This is used by Diagnostics to determine if a diagnostic sent to a given DiagnosticClient should be included in the count of diagnostics. The default implementation of this method returns 'true'. Implemented DiagCollector::IncludeInDiagnosticCounts() to return 'false' so that the batching of diagnostics for use with BugReporter doesn't mess up the count of real diagnostics. llvm-svn: 62873
-
Daniel Dunbar authored
- However, these last ones do not actually work; the issue is that they translate to batches of options and need to be reparsed. For now we just give an unsupported error on them. llvm-svn: 62872
-
Ted Kremenek authored
llvm-svn: 62871
-
Daniel Dunbar authored
- Again turned up a few which don't do anything sensible. llvm-svn: 62870
-
-
Douglas Gregor authored
Make sure all of the isUnsigned flags line up when comparing initializer values, to really really fix PR clang/3377 llvm-svn: 62858
-
Daniel Dunbar authored
- <rdar://problem/6518844> Clang-generated bitcode crashes LLVM while compiling function pointer addition expression llvm-svn: 62857
-
Chris Lattner authored
Refactor how the preprocessor changes a token from being an tok::identifier to a keyword (e.g. tok::kw_for). Instead of doing this in HandleIdentifier, hoist this common case out into the caller, so that every keyword doesn't have to go through HandleIdentifier. This drops time in HandleIdentifier from 1.25ms to .62ms, and speeds up clang -Eonly with PTH by about 1%. llvm-svn: 62855
-
Chris Lattner authored
Patch by Axel Naumann! llvm-svn: 62854
-
Fariborz Jahanian authored
llvm-svn: 62853
-
Fariborz Jahanian authored
llvm-svn: 62852
-
Douglas Gregor authored
Fixes PR clang/3377 llvm-svn: 62851
-
Douglas Gregor authored
special action, inside function prototype scope. This avoids confusion when we try to inject these parameters into the scope of the function body before the function itself has been added to the surrounding scope. Fixes <rdar://problem/6097326>. llvm-svn: 62849
-
Zhongxing Xu authored
llvm-svn: 62847
-
Zhongxing Xu authored
llvm-svn: 62846
-
Zhongxing Xu authored
llvm-svn: 62845
-
Zhongxing Xu authored
region. Otherwise we would get an extra level of pointer type. llvm-svn: 62844
-
Daniel Dunbar authored
llvm-svn: 62841
-
Daniel Dunbar authored
- Curiously, a number of the current translations gcc does appear to be useless? llvm-svn: 62831
-
Fariborz Jahanian authored
llvm-svn: 62830
-
Daniel Dunbar authored
llvm-svn: 62829
-
Douglas Gregor authored
Objective-C declarations!) again. Fixes <rdar://problem/6517155> llvm-svn: 62826
-
Daniel Dunbar authored
--assert, --classpath). - Requires providing some option parameters to over-ride rendering in order to match gcc. There may be a cleaner way to do this (probably by introducing a new option type for long JoinedOrSeparate forms). llvm-svn: 62825
-
Daniel Dunbar authored
forwarding -s to linker, and was only taking last arg in some cases when should have been taking all). llvm-svn: 62824
-
Douglas Gregor authored
extension. Addresses clang PR/3371. llvm-svn: 62823
-
Daniel Dunbar authored
- Unlike groups (which gather distinct but related options), aliases are for options like '--all-warnings' which are effectively treated like some other option ('-Wall') both in the driver logic and when passing to tools. llvm-svn: 62820
-
Chris Lattner authored
llvm-svn: 62819
-
Ted Kremenek authored
llvm-svn: 62818
-
Daniel Dunbar authored
llvm-svn: 62817
-
Ted Kremenek authored
For now, return UnknownVal() in RegionStore::getElementsSize() for AnonTypedRegions. It wasn't really doing the right thing and was crashing on rdar-6442306-1.m. This fix causes all path-sensitive test cases to pass with RegionStore. llvm-svn: 62816
-
Chris Lattner authored
load is always aligned. I verified that the bswap doesn't occur in the assembly code on x86. llvm-svn: 62815
-