- Sep 22, 2011
-
-
David Blaikie authored
llvm-svn: 140288
-
David Blaikie authored
llvm-svn: 140287
-
- Sep 21, 2011
-
-
Tobias Grosser authored
OpenCL is different from AltiVec in the way it supports vector literals. OpenCL is strict with regards to semantic checks. For example, implicit conversions and explicit casts between vectors of different types are disallowed. Fixes PR10975. Submitted by: Anton Lokhmotov <Anton.lokhmotov@gmail.com> llvm-svn: 140270
-
David Blaikie authored
llvm-svn: 140268
-
Benjamin Kramer authored
llvm-svn: 140256
-
Douglas Gregor authored
Dyatkovskiy! Fixes PR10896. llvm-svn: 140250
-
John McCall authored
conversions (rather than just call-arguments). llvm-svn: 140244
-
John McCall authored
llvm-svn: 140243
-
John McCall authored
if the definition has a non-variadic prototype with compatible parameters. Therefore, the default rule for such calls must be to use a non-variadic convention. Achieve this by casting the callee to the function type with which it is required to be compatible, unless the target specifically opts out and insists that unprototyped calls should use the variadic rules. The only case of that I'm aware of is the x86-64 convention, which passes arguments the same way in both cases but also sets a small amount of extra information; here we seek to maintain compatibility with GCC, which does set this when calling an unprototyped function. Addresses PR10810 and PR10713. llvm-svn: 140241
-
Francois Pichet authored
[microsoft] Move missing typename warning from -fms-extensions to -fms-compatibility. Also allow the missing typename warning at function scope. llvm-svn: 140240
-
Benjamin Kramer authored
llvm-svn: 140238
-
Richard Trieu authored
assert(!"error message"); To: assert(0 && "error message"); which is more consistant across the code base. llvm-svn: 140232
-
Richard Trieu authored
Change "ivar" to true for a boolean function argument. Since string literals are cast to true, this should no effect on behavior. llvm-svn: 140231
-
Akira Hatanaka authored
llvm-svn: 140226
-
Anna Zaks authored
[analyzer] Fix a bug where PathDiagnosticLocation did not generate a valid range and add asserts to check validity of locations early on. Ignore invalid ranges in PathDiagnosticPiece (they could be added by checker writers). Addresses radar://10124836 and radar://radar10102244. llvm-svn: 140218
-
-
Argyrios Kyrtzidis authored
we already have the range in the PPEntityOffsets array. llvm-svn: 140209
-
Argyrios Kyrtzidis authored
and don't store the ID for each preprocessed entity. llvm-svn: 140208
-
Argyrios Kyrtzidis authored
return a cursor for the inner macro. llvm-svn: 140207
-
Anna Zaks authored
[analyzer] Refactor PathDiagnosticLocation: Remove SourceRange member from PathDiagnosticLocation - FullSourceLoc Loc and PathDiagnosticRange Range are sufficient. llvm-svn: 140206
-
Anna Zaks authored
[analyzer] Refactor PathDiagnosticLocation: Add comments. Remove the last constructor which could allow invalid locations to slip in. llvm-svn: 140200
-
Anna Zaks authored
[analyzer] Remove dead code. (This code is trying to implement the idea that PathDiagnosticClient could implement DiagnosticClient and has been dead for a while). llvm-svn: 140198
-
Argyrios Kyrtzidis authored
directly at the end of the source file. llvm-svn: 140192
-
Argyrios Kyrtzidis authored
llvm-svn: 140191
-
Argyrios Kyrtzidis authored
don't store an extra location for it. llvm-svn: 140190
-
Francois Pichet authored
llvm-svn: 140189
-
Bob Wilson authored
This replaces the hack to read UNAME_RELEASE from the environment when identifying the OS version on Darwin, and it's more flexible. It's also horribly ugly, but at least this consolidates the ugliness to touch less of the code so that it will be easier to rip out later. llvm-svn: 140187
-
- Sep 20, 2011
-
-
Anna Zaks authored
[analyzer] Refactor PathDiagnosticLocation: Make PathDiagnosticLocation(SourceLocation...) private. Most of the effort here goes to making BugReport refer to a PathDiagnosticLocation instead of FullSourceLocation. (Another step closer to the goal of having Diagnostics which can recover from invalid SourceLocations.) llvm-svn: 140182
-
Anna Zaks authored
llvm-svn: 140180
-
Chad Rosier authored
rdar://10125227 llvm-svn: 140179
-
Richard Trieu authored
erronously trigger the digraph correction fix-it. Include a new test to catch this in the future. llvm-svn: 140175
-
Akira Hatanaka authored
llvm-svn: 140174
-
Ted Kremenek authored
llvm-svn: 140171
-
Akira Hatanaka authored
of Mips32 big and little endian derive. llvm-svn: 140170
-
Akira Hatanaka authored
UnwindException structure is 32 for mips64. llvm-svn: 140165
-
Anna Zaks authored
[analyzer] Refactor PathDiagnosticLocation: Use PointerUnion of LocationContext and AnalysisContext to support creation of PathDiagnosticLocations for checkers which no context sensitivity. llvm-svn: 140162
-
Akira Hatanaka authored
llvm-svn: 140161
-
Douglas Gregor authored
from unfriendly (== not at all modularized) directories. This is temporary, and it only affects module construction until I'll figured out how to deal with system headers. llvm-svn: 140159
-
Eric Christopher authored
llvm-svn: 140155
-
DeLesley Hutchins authored
llvm-svn: 140149
-