- Jan 25, 2011
-
-
Nico Weber authored
llvm-svn: 124227
-
Jeffrey Yasskin authored
authors to write class __attribute__((forbid_temporaries)) Name { ... }; when they want to force users to name all variables of the type. This protects people from doing things like creating a scoped_lock that only lives for a single statement instead of an entire scope. The warning produced by this attribute can be disabled by -Wno-forbid-temporaries. llvm-svn: 124217
-
Douglas Gregor authored
(C++0x [over.ics.rank]p3) when one binding is an lvalue reference and the other is an rvalue reference that binds to an rvalue. In particular, we were using the predict "is an rvalue reference" rather than "is an rvalue reference that binds to an rvalue", which was incorrect in the one case where an rvalue reference can bind to an lvalue: function references. This particular issue cropped up with std::forward, where Clang was picking an std::forward overload while forwarding an (lvalue) reference to a function. However (and unfortunately!), the right answer for this code is that the call to std::forward is ambiguous. Clang now gets that right, but we need to revisit the std::forward implementation in libc++. llvm-svn: 124216
-
Ted Kremenek authored
by ExplodedNodes. This leads to about a 4-8% reduction in memory footprint when analyzing functions in sqlite3. llvm-svn: 124214
-
Ted Kremenek authored
about uninitialized variables captured by blocks. llvm-svn: 124213
-
Ted Kremenek authored
for a block capturing the value of an uninitialized variable. llvm-svn: 124212
-
Douglas Gregor authored
generate meaningful [*] template argument location information. [*] Well, as meaningful as possible, given that this entire code path is a hack for when we've lost type-source information. llvm-svn: 124211
-
Rafael Espindola authored
llvm-svn: 124210
-
Rafael Espindola authored
llvm-svn: 124209
-
Johnny Chen authored
llvm-svn: 124208
-
Douglas Gregor authored
llvm-svn: 124204
-
Devang Patel authored
Resolve DanglingDbgValue of PHI nodes where the use follows dbg.value intrinisic. llvm-svn: 124203
-
Devang Patel authored
This assertion is too restrictive, it does not apply for dangling dbg value nodes (nodes where dbg.value intrinsic preceds use of the value). llvm-svn: 124202
-
Anders Carlsson authored
llvm-svn: 124201
-
Douglas Gregor authored
during template instantiation. This code needs to eventually die, but this little tweak fixes PR8629, where bad location information slipped through to the location of a class template instantiation. llvm-svn: 124199
-
Johnny Chen authored
rdar://problem/8435794 settings set target.process.output-path does not seem to work Also change the test case from test_set_output_path to test_set_error_output_path as it now exercises both setting target.process.error-path and target.process.output-path. llvm-svn: 124198
-
Douglas Gregor authored
T) when taking the address of an overloaded function or matching a specialization to a template (C++0x [temp.deduct.type]p10). Fixes PR9044. llvm-svn: 124197
-
Johnny Chen authored
llvm-svn: 124196
-
Johnny Chen authored
llvm-svn: 124195
-
Howard Hinnant authored
llvm-svn: 124193
-
Howard Hinnant authored
llvm-svn: 124192
-
David Greene authored
[AVX] Add TableGen classes for vector/subvector type constraints. This will be used to check patterns referencing a forthcoming INSERT_SUBVECTOR SDNode and will also be used to check EXTRACT_SUBVECTOR nodes. llvm-svn: 124191
-
Douglas Gregor authored
result of the __tuple_leaf::get() call to an rvalue reference when returning from tuple's get(). llvm-svn: 124190
-
Douglas Gregor authored
derived-to-base conversion, set the cast kind and base path appropriately. llvm-svn: 124189
-
Duncan Sands authored
llvm-svn: 124188
-
Jay Foad authored
a forward declaration of simplify_type<>. llvm-svn: 124187
-
Duncan Sands authored
disabled. llvm-svn: 124185
-
Duncan Sands authored
llvm-svn: 124184
-
Duncan Sands authored
optimized code are: (non-negative number)+(power-of-two) != 0 -> true and (x | 1) != 0 -> true Instcombine knows about the second one of course, but only does it if X|1 has only one use. These fire thousands of times in the testsuite. llvm-svn: 124183
-
Nick Lewycky authored
for now. It's controlled by the HasGlobalAliases variable which is not attached to any flag yet. llvm-svn: 124182
-
Greg Clayton authored
llvm-svn: 124181
-
Greg Clayton authored
We will need to try again soon, but this change was causing instability. llvm-svn: 124180
-
Greg Clayton authored
types. What was happening was the DWARF parser was almost ignoring definitions (DIEs with the DW_AT_declaration set to 1). It wasn't ignoring declarations that had _some_ children. When this happened, we would treat the declaration as a complete type. Often we would have a declaration of a type with just some enum definitions inside and nothing else. Now we correctly ignore these definitions, and also I added some changes to allow us to figure out what decl context these special declarations actually point to. llvm-svn: 124179
-
Jim Ingham authored
if we undid some user provided suspends, we need to re-do the suspends. llvm-svn: 124178
-
Greg Clayton authored
parse the exit status in case we send this packet while stopped. llvm-svn: 124177
-
John McCall authored
llvm-svn: 124176
-
John McCall authored
to make it clear that we're talking about the declarations and not the types. llvm-svn: 124175
-
John McCall authored
attributes for the benefit of the static analyzer. llvm-svn: 124174
-
Jason Molenda authored
with my last commit. The change should be correct but it's not fixing anything important and right now unneeded changes are not a good idea. llvm-svn: 124173
-
Jason Molenda authored
section is encrypted before trying to read it. Fixes assert / crash when trying to unwind an executable w/ encrypted eh_frame sect. llvm-svn: 124172
-