- Oct 02, 2010
-
-
Chris Lattner authored
For example, on: #include <emmintrin.h> int foo(int N) { __m128i white2; white2 = _mm_slli_si128(white2, N); return 0; } we used to get: fatal error: error in backend: Cannot yet select: intrinsic %llvm.x86.sse2.psll.dq now we get: /Users/sabre/t.c:4:11: error: argument to '__builtin_ia32_pslldqi128' must be a constant integer white2 = _mm_slli_si128(white2, N); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/sabre/t.c:1: /Volumes/Projects/cvs/llvm/Debug+Asserts/lib/clang/2.9/include/emmintrin.h:781:13: note: instantiated from: ((__m128i)__builtin_ia32_pslldqi128((__m128i)(VEC), (IMM)*8)) ^ ~~~~~~~ 1 error generated. llvm-svn: 115374
-
Gabor Greif authored
llvm-svn: 115356
-
Gabor Greif authored
a helper function (AdjustAPSInt) and use that for adjusting the high bounds of case ranges before APSInt comparisons. Fixes http://llvm.org/bugs/show_bug.cgi?id=8135 Some minor refacorings while I am here. llvm-svn: 115355
-
- Oct 01, 2010
-
-
-
Francois Pichet authored
Better diagnostic for superfluous scope specifier inside a class definition for member functions. + Fixit. Example: class A { void A::foo(); //warning: extra qualification on member 'foo' }; llvm-svn: 115347
-
Douglas Gregor authored
and protocol expressions. Fixes <rdar://problem/7833565>. llvm-svn: 115346
-
Douglas Gregor authored
member function or an Objective-C method, which other member functions/methods it overrides. llvm-svn: 115338
-
Douglas Gregor authored
auto f(int) -> int from Daniel Wallin! (With a few minor bug fixes from me). llvm-svn: 115322
-
Marcin Swiderski authored
llvm-svn: 115266
-
Marcin Swiderski authored
Added generating CFGAutomaticObjDtors for init statement, condition variable and implicit scope in for statement. llvm-svn: 115265
-
Marcin Swiderski authored
dded generating CFGAutomaticObjDtors for condition variable and implicit scopes in switch statement. llvm-svn: 115264
-
Marcin Swiderski authored
Added generating CFGAutomaticObjDtors for condition variable and implicit scopes in while and do statements. llvm-svn: 115262
-
Douglas Gregor authored
file is somehow changed in a chained PCH file, make sure that we write out the macro definition. Fixes part of <rdar://problem/8499034>. llvm-svn: 115259
-
Fariborz Jahanian authored
llvm-svn: 115258
-
Marcin Swiderski authored
llvm-svn: 115256
-
Fariborz Jahanian authored
llvm-svn: 115253
-
Marcin Swiderski authored
- Adding LocalScope for CompoundStmt, - Adding CFGAutomaticObjDtors for end of scope, return, goto, break, continue, - Regression tests for above cases. llvm-svn: 115252
-
Fariborz Jahanian authored
extension and implementation. Fixes rdar://8493239. llvm-svn: 115248
-
Argyrios Kyrtzidis authored
llvm-svn: 115247
-
Dale Johannesen authored
llvm-svn: 115244
-
- Sep 30, 2010
-
-
Fariborz Jahanian authored
Fixes rdra://8475819. llvm-svn: 115201
-
Ted Kremenek authored
Fixes: <rdar://problem/7513117> llvm-svn: 115113
-
Devang Patel authored
Radar 8493141. llvm-svn: 115104
-
- Sep 29, 2010
-
-
Devang Patel authored
Radar 8490416. llvm-svn: 115090
-
Douglas Gregor authored
against a function type, be sure to check the type of the resulting function template specialization against the desired function type after substituting the deduced/defaulted template arguments. Fixes PR8196. llvm-svn: 115086
-
Devang Patel authored
llvm-svn: 115068
-
Daniel Dunbar authored
- Minor style tweaks by me. llvm-svn: 115056
-
Douglas Gregor authored
during template instantiation, from Martin Vejnar! llvm-svn: 115051
-
Daniel Dunbar authored
llvm-svn: 115041
-
Douglas Gregor authored
in a GNU-compatible C++ dialect. Fixes <rdar://problem/8477819>. llvm-svn: 115028
-
Chris Lattner authored
llvm-svn: 115004
-
- Sep 28, 2010
-
-
-
Fariborz Jahanian authored
Fixes rdar://8476159. llvm-svn: 114982
-
Douglas Gregor authored
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>. This reinstates r114924, with one crucial bug fix: we were ignoring the implicit fields created by anonymous structs/unions when updating the bits in CXXRecordDecl, which means that a class/struct containing only an anonymous class/struct would be considered "empty". Hilarity follows. llvm-svn: 114980
-
Douglas Gregor authored
verify that we aren't in a message-send expression before digging into the identifier or looking ahead more tokens. Fixes a regression (<rdar://problem/8483253>) I introduced with bracket insertion. llvm-svn: 114968
-
Argyrios Kyrtzidis authored
Fixes rdar://8459342. llvm-svn: 114955
-
-
Fariborz Jahanian authored
passed to nonnull attributed functions. Implements radar 6857843. llvm-svn: 114917
-
- Sep 27, 2010
-
-
Nico Weber authored
Correctly set "explicit template instantiation" kind on inner structs of templates whose explicit instantiation is first declared and then defined. Fixes http://llvm.org/pr8207 llvm-svn: 114874
-
Nico Weber authored
llvm-svn: 114869
-