- Nov 15, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 88849
-
Douglas Gregor authored
that we're dealing with canonical types like the documentation say (yay, CanQualType). Alas, this is another instance where using getQualifiers() on a non-canonical QualType got us in trouble. Good news: with this fix, Clang can now parse all of its own headers! llvm-svn: 88848
-
Douglas Gregor authored
llvm-svn: 88847
-
Douglas Gregor authored
set, expand overloaded function declarations. Long-term, this should actually be done by the name-lookup code rather than here, but this part of the code (involving using declarations) is getting a makeover now and the test-case is useful. llvm-svn: 88846
-
Daniel Dunbar authored
-fsyntax-only and with -c. llvm-svn: 88845
-
Daniel Dunbar authored
- Used for running a single fixed command on a directory of files, with the option of deriving a temporary input file from the test source. llvm-svn: 88844
-
Mike Stump authored
llvm-svn: 88843
-
Douglas Gregor authored
type, use full qualified name lookup rather than the poking the declaration context directly. This makes sure that we see operator()'s in superclasses. Also, move the complete-type check before this name lookup. llvm-svn: 88842
-
Nick Lewycky authored
grief. I suspect this patch merely exposed a bug else. llvm-svn: 88841
-
Douglas Gregor authored
llvm-svn: 88840
-
Daniel Dunbar authored
'--param run_clang_syntax=1' to run them. llvm-svn: 88839
-
Daniel Dunbar authored
dirnames. Also, add support for the 'unsupported' config property. llvm-svn: 88838
-
Douglas Gregor authored
llvm-svn: 88837
-
Daniel Dunbar authored
llvm-svn: 88836
-
Douglas Gregor authored
llvm-svn: 88835
-
Douglas Gregor authored
If any errors have occurred by the time we hit the end of a function body, clear out any remaining temporaries so they aren't seen later. llvm-svn: 88834
-
Daniel Dunbar authored
- This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833
-
Douglas Gregor authored
llvm-svn: 88832
-
Nick Lewycky authored
llvm-svn: 88831
-
Nick Lewycky authored
zext(icmp). It may be able to optimize that away. This fixes one of the cases in PR5438. llvm-svn: 88830
-
Lang Hames authored
Added an assert to the PBQP allocator to catch infinite cost solutions which might otherwise lead to miscompilations. llvm-svn: 88829
-
Mike Stump authored
llvm-svn: 88828
-
Daniel Dunbar authored
- Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests. llvm-svn: 88827
-
Daniel Dunbar authored
- The build scriptage is about twice as long as the code, which is nice. :) llvm-svn: 88826
-
Daniel Dunbar authored
Move tools/wpa to examples/wpa, and unbreak its build. llvm-svn: 88825
-
Daniel Dunbar authored
- Expects the plugin has been loaded with -load. - Using this may require disabling TOOL_NO_EXPORTS in the clang-cc Makefile, this breaks the llvm::Registry way of working (static constructors are bad, kids). This should be replaced with a "real" plugin model that has explicit plugin interfaces. llvm-svn: 88824
-
Mike Stump authored
llvm-svn: 88823
-
- Nov 14, 2009
-
-
Anders Carlsson authored
llvm-svn: 88821
-
Daniel Dunbar authored
-- ddunbar@giles:clang-cc (master)$ grep llvm::cl::opt clang-cc.cpp # Woot ddunbar@giles:clang-cc (master)$ -- llvm-svn: 88820
-
Daniel Dunbar authored
- We still need support for detecting the target features, since the name doesn't actually do a good job of decribing what the CPU supports (for LLVM). llvm-svn: 88819
-
Daniel Dunbar authored
llvm-svn: 88818
-
Jim Grosbach authored
llvm-svn: 88817
-
Anders Carlsson authored
Add an internal CreateRecordDecl that will create a CXXRecordDecl when compiling C++ and a RecordDecl otherwise. llvm-svn: 88816
-
Daniel Dunbar authored
properly detect my Xeon box though. llvm-svn: 88814
-
Daniel Dunbar authored
llvm-svn: 88813
-
Jim Grosbach authored
llvm-svn: 88812
-
Anders Carlsson authored
llvm-svn: 88811
-
Anders Carlsson authored
llvm-svn: 88810
-
Sebastian Redl authored
- Have TryStaticImplicitCast set the cast kind to NoOp when binding a reference. CheckReferenceInit already inserts implicit casts to the necessary types. This fixes an assertion in CodeGen for some casts and brings a fix for PR5453 close, if I understand that bug correctly. - Also, perform calculated implicit cast sequences if they're determined to work. This finally diagnoses static_cast to ambiguous or implicit bases and fixes two long-standing fixmes in the test case. For the C-style cast, this requires propagating the access check suppression pretty deep into other functions. - Pass the expressions for TryStaticCast and TryStaticImplicitCast by reference. This should lead to a better AST being emitted for such casts, and also fixes a memory leak, because CheckReferenceInit and PerformImplicitConversion wrap the node passed to them. These wrappers were previously lost. llvm-svn: 88809
-
Anders Carlsson authored
llvm-svn: 88808
-