Ted Kremenek
aeca0954c2
Use C++ style comments.
...
llvm-svn: 80320
2009-08-28 00:24:55 +00:00
Bob Wilson
2cb0c3b5cb
Disable optional bindings for Apple-style builds.
...
llvm-svn: 80319
2009-08-28 00:21:13 +00:00
Bob Wilson
d581639645
Revert 76080. This broke some powerpc cross compiles.
...
It also makes the llvmCore build dependent on whatever version of llvm-gcc
happens to be installed on the build machine.
llvm-svn: 80316
2009-08-28 00:10:15 +00:00
Ted Kremenek
d032fcce5c
Implement: <rdar://problem/6337132> CWE-273: Failure to Check Whether Privileges
...
Were Dropped Successfully
Patch by Geoff Keating!
llvm-svn: 80313
2009-08-28 00:08:09 +00:00
Daniel Dunbar
8d38b8d20c
Revert r80305, I forgot a dependent change.
...
--- Reverse-merging r80305 into '.':
U tools/llvm-mc/AsmParser.cpp
llvm-svn: 80309
2009-08-27 23:58:10 +00:00
Devang Patel
3082c01d68
Closure is a very generic name. Use AppleBlock instead.
...
llvm-svn: 80307
2009-08-27 23:51:51 +00:00
Ted Kremenek
30cbea5cad
Update exports list.
...
llvm-svn: 80306
2009-08-27 23:50:46 +00:00
Daniel Dunbar
ba33ff294e
llvm-mc: Unique sections in .zerofill.
...
llvm-svn: 80305
2009-08-27 23:45:06 +00:00
Gabor Greif
57d9b1e19a
eliminate all 80-col violations that I have introduced in my recent checkins (and some others more)
...
llvm-svn: 80304
2009-08-27 23:44:33 +00:00
Daniel Dunbar
e36c50f163
Don't build runtime libraries in an Apple style build.
...
llvm-svn: 80303
2009-08-27 23:43:28 +00:00
Douglas Gregor
6a1f965853
When looking for overloaded member operators, make sure to instantiate
...
class template specializations (when possible) and look into base
classes. Thanks to Eli for the test case!
FIXME -=1.
llvm-svn: 80302
2009-08-27 23:35:55 +00:00
Chris Lattner
7ef882dca0
convert to filecheck and force a triple so that this passes on big
...
endian hosts. Fixes PR4792
llvm-svn: 80301
2009-08-27 23:22:19 +00:00
Ted Kremenek
ce499c2078
CFG construction: Abort CFG construction when processing a CompoundStmt if any
...
of its subexpressions resulted in a "bad CFG".
llvm-svn: 80298
2009-08-27 23:16:26 +00:00
Ted Kremenek
1d5f2f3546
Rename 'bindExpr' to 'BindExpr'.
...
llvm-svn: 80294
2009-08-27 22:17:37 +00:00
Ted Kremenek
0ac724be55
Move the AnalysisContext* from GRState to Environment.
...
llvm-svn: 80293
2009-08-27 22:15:20 +00:00
Eli Friedman
80110179f4
Define _GNU_SOURCE in C++ mode so that clang works with GNU libstdc++.
...
llvm-svn: 80289
2009-08-27 22:01:41 +00:00
Eli Friedman
8a46219c57
Add __builtin_memchr (used by GNU libstdc++).
...
llvm-svn: 80288
2009-08-27 22:00:18 +00:00
Eli Friedman
ff083ef429
Clean up CodeGenFunction::EmitCastLValue to use the cast kind. Error
...
out for user-defined conversions instead of crashing.
llvm-svn: 80282
2009-08-27 21:19:33 +00:00
Bruno Cardoso Lopes
e91191630b
Revert 80278 for now, it caused a lot of MIPS tests to fail
...
llvm-svn: 80280
2009-08-27 19:57:56 +00:00
Steve Naroff
d5e8e862bb
Fill in Index.h header file and add stubs to implementation file.
...
llvm-svn: 80279
2009-08-27 19:51:58 +00:00
Bruno Cardoso Lopes
18c21daafb
Revamp our friend Mips :)
...
Add MO flags to simplify the printing of relocations.
Remove the support for printing large code model relocs (which
aren't supported anyway).
llvm-svn: 80278
2009-08-27 19:40:40 +00:00
Eli Friedman
bda4ef15ce
Fix for PR4794 (instantiating friend class decl); this version shouldn't
...
cause any regressions.
llvm-svn: 80277
2009-08-27 19:11:42 +00:00
Sebastian Redl
880a348b52
Extend the exception spec test even further. Now I need to implement this.
...
llvm-svn: 80276
2009-08-27 19:07:16 +00:00
Eli Friedman
ba7908796a
Remove unnecessary include.
...
llvm-svn: 80275
2009-08-27 19:02:44 +00:00
Eli Friedman
972931e25d
Don't create a junk file in the source directory.
...
llvm-svn: 80274
2009-08-27 19:01:37 +00:00
Eli Friedman
1e97108bdd
Back out bad piece of r80272. Will look at fixing this a different way.
...
llvm-svn: 80273
2009-08-27 18:44:04 +00:00
Eli Friedman
7a61407d0b
PR4794: Make instantiating friend class decls not crash.
...
llvm-svn: 80272
2009-08-27 18:38:56 +00:00
Dan Gohman
931ec72ebf
Don't mark CMOV_GR8 as two-address, or commutable, since it's a pseudo.
...
llvm-svn: 80271
2009-08-27 18:16:24 +00:00
Dan Gohman
ed10d7c441
Adjust the MachineBasicBlock verifier rules to be more
...
tolerant of blocks that end with "unreachable".
llvm-svn: 80270
2009-08-27 18:14:26 +00:00
Eric Christopher
69baa5139b
Add FIXME for when we support more specific XMM registers.
...
llvm-svn: 80269
2009-08-27 18:08:16 +00:00
Eric Christopher
799c92bcfb
Nuke trailing whitespace.
...
llvm-svn: 80268
2009-08-27 18:07:15 +00:00
Dan Gohman
bc1d841a63
Use stripPointerCasts instead of doing the same manually.
...
llvm-svn: 80267
2009-08-27 18:02:03 +00:00
Dan Gohman
ea398633b2
Minor code simplification.
...
llvm-svn: 80266
2009-08-27 17:59:08 +00:00
Dan Gohman
4ce5ade09d
Teach getUnderlyingObject and skipPointerCasts about GlobalAliases.
...
llvm-svn: 80265
2009-08-27 17:55:13 +00:00
Dan Gohman
aba809befd
Be somewhat more consistent about const qualifiers.
...
llvm-svn: 80264
2009-08-27 17:54:15 +00:00
Dan Gohman
1f59f0146f
Global Aliases are not identifiable objects.
...
llvm-svn: 80263
2009-08-27 17:52:56 +00:00
Dan Gohman
05f11351ab
Handle TargetData with const.
...
llvm-svn: 80262
2009-08-27 17:51:25 +00:00
Anders Carlsson
20d1332d76
Add an InOverloadResolution flag to TryCopyInitialization.
...
llvm-svn: 80261
2009-08-27 17:37:39 +00:00
Anders Carlsson
271e3a4d47
Remove more default arguments.
...
llvm-svn: 80260
2009-08-27 17:30:43 +00:00
Dan Gohman
20ef7728af
Strip trailing whitespace from blank lines.
...
llvm-svn: 80259
2009-08-27 17:29:49 +00:00
Anders Carlsson
ef4c72135f
Remove default arguments from TryImplicitConversion and fix a bug found in the process.
...
llvm-svn: 80258
2009-08-27 17:24:15 +00:00
Eli Friedman
f871945c39
PR4800: Implement -Wpointer-arith. I think this is the correct behavior
...
per the documentation, although I'm not completely sure.
llvm-svn: 80257
2009-08-27 17:20:36 +00:00
Anders Carlsson
03068aa077
Remove default argument from TryCopyInitialization.
...
llvm-svn: 80256
2009-08-27 17:18:13 +00:00
Anders Carlsson
5ec4abf268
Revert the flags change for now, I have a better idea for this.
...
llvm-svn: 80255
2009-08-27 17:14:02 +00:00
Gabor Greif
962c374781
re-apply r80197, now that iterator.h is not mentioned any more
...
llvm-svn: 80254
2009-08-27 17:07:35 +00:00
Douglas Gregor
e704c9df31
Implement instantiation of the declarations of member function
...
templates within class templates, producing a member function template
of a class template specialization. If you can parse that, I'm
sorry. Example:
template<typename T>
struct X {
template<typename U> void f(T, U);
};
When we instantiate X<int>, we now instantiate the declaration
X<int>::f, which looks like this:
template<typename U> void X<int>::f(int, U);
The path this takes through
TemplateDeclInstantiator::VisitCXXMethodDecl is convoluted and
ugly, but I don't know how to improve it yet. I'm resting my hopes on
the multi-level substitution required to instantiate definitions of
nested templates, which may simplify this code as well.
More testing to come...
llvm-svn: 80252
2009-08-27 16:57:43 +00:00
Anton Korobeynikov
ba53af58f0
Hopefully the final missing part :(
...
scalar_to_vector is fully legal now
llvm-svn: 80251
2009-08-27 16:25:49 +00:00
Anton Korobeynikov
076f105d86
Forgot about actual change :)
...
llvm-svn: 80250
2009-08-27 16:10:17 +00:00
Anton Korobeynikov
205cac837f
scalar_to_vector is fully legal now (implemented as subreg accesses)
...
llvm-svn: 80249
2009-08-27 16:04:47 +00:00
Anders Carlsson
2f7e956f16
Add a OverloadResolutionFlags and start converting some of the overload methods over to using it instead of bools arguments.
...
llvm-svn: 80248
2009-08-27 16:01:18 +00:00