Commit graph

492 commits

Author SHA1 Message Date
Dicebot
e85aa4799d fullyQualifiedName: created a single entry template, rearranged code to match new hierarchy 2013-01-16 18:11:48 +02:00
Dicebot
a26d6aa31f fullyQualifiedName: Added inout handling, exclusive modifers shall not stack anymore, turned one of inner templates to CTFE function 2013-01-16 14:39:55 +02:00
Dicebot
0178c1a384 fullyQualifiedName: inout function support + removed possibility of exclusive qualifier combination in output 2013-01-16 13:41:16 +02:00
Dicebot
cc52042d0e fullyQualifiedName: removed duplicate unittest lines 2013-01-16 13:41:16 +02:00
Dicebot
28faffe389 fullyQualifiedName update: fixed test suite build errors 2013-01-16 13:41:16 +02:00
Dicebot
5a8e303af3 fullyQualifiedName: function type handling improved
1) Added formatting for:
    * Attributes
    * Parameter storage classes
    * Variadic arguments
    * Function type qualifiers for delegates
    * Function linkage
2) Unit tests were re-arranged and improved a bit
3) xformat -> format
2013-01-16 13:41:16 +02:00
Dicebot
5843503935 Implementation of fullyQualifiedTypename template that operates on raw types contrary to fullyQualifiedName which is tied to aliases to symbols 2013-01-16 13:41:16 +02:00
k-hara
dd42a75106 fix Issue 9317 - ParameterStorageClassTuple reports errors for inout function 2013-01-15 00:07:06 +09:00
Alex Rønne Petersen
248aaea04f Merge pull request #1026 from Dicebot/patch-1
Update std/traits.d
2013-01-13 16:24:35 -08:00
k-hara
f6f57530a6 fix Issue 9288 - Parameter(Identifier|DefaultValue)Tuple report pointless errors 2013-01-10 09:40:46 +09:00
Andrej Mitrovic
633d2d5a98 Fixes Issue 5736 - Missing 'else' in 'static if' 2013-01-08 22:22:14 +01:00
Nick Treleaven
5083260795 Fix typos 2013-01-07 17:01:11 +00:00
Dicebot
6527beb6e2 Update for documentation as a consequence for https://github.com/D-Programming-Language/phobos/pull/862 2013-01-02 12:56:07 +02:00
Andrei Alexandrescu
f12c860a23 Merge pull request #896 from denis-sh/std.conv.emplace-fixes
`std.conv.emplace` fixes & improvements
2012-12-12 07:41:03 -08:00
k-hara
afed048033 fixup for pull #1301 and #1309
By fixing bug 9069 and 9035, T.init always returns rvalue and ref cannot receive it.
2012-12-04 14:40:13 +09:00
k-hara
0f8e87b342 fix isPointer 2012-11-27 22:46:23 +09:00
k-hara
6d53de5893 fix isBuiltinType and BuiltinTypeOf 2012-11-27 22:46:21 +09:00
k-hara
fa61476205 fix isAssociativeArray 2012-11-27 22:46:20 +09:00
k-hara
eea23bda23 fix isArray 2012-11-27 22:46:19 +09:00
k-hara
158275cda9 fix isDynamicArray and DynamicArrayTypeOf 2012-11-27 22:46:18 +09:00
k-hara
965fc86820 fix isStaticArray 2012-11-27 22:46:16 +09:00
k-hara
1f62b9ec9f fix isNarrowString 2012-11-27 22:46:15 +09:00
k-hara
d31e45ac28 fix isSomeString and StringTypeOf
additionally DynamicArrayTypeOf and StaticArrayTypeOf considers enums based on arrays
2012-11-27 22:46:12 +09:00
k-hara
108761f273 fix isSomeChar and CharTypeOf 2012-11-27 22:46:11 +09:00
k-hara
fcbb1bef2b fix isBasicType 2012-11-27 22:46:09 +09:00
k-hara
0e09d72b34 fix isScalarType 2012-11-27 22:46:07 +09:00
k-hara
6e67956903 fix isUnsigned/isSigned and Unsigned/Signed 2012-11-27 22:14:18 +09:00
k-hara
a16920f2de fix isNumeric and NumericTypeOf 2012-11-27 22:10:39 +09:00
k-hara
9f98163968 fix isFloatingPoint and FloatingPointTypeOf 2012-11-27 22:10:28 +09:00
k-hara
0c88d6ffc4 fix isIntegral and IntegralTypeOf 2012-11-27 22:10:19 +09:00
k-hara
8a60edd140 fix isBoolean and BooleanTypeOf 2012-11-27 22:10:16 +09:00
Alex Rønne Petersen
cc9461baa8 Merge pull request #970 from AndrejMitrovic/Fix9064
Fixes Issue 9064 - Add isInstanceOf trait
2012-11-24 09:56:11 -08:00
Andrej Mitrovic
e02593090a Fixes Issue 9064 - Add isInstanceOf trait. 2012-11-23 14:58:41 +01:00
k-hara
2aee10e789 Stop fwdref by the immutable field 2012-11-22 09:58:32 +09:00
Ellery Newcomer
4a8ef27691 give ParameterIdentifierTuple and ParameterDefaultValueTuple ddoc comments 2012-11-14 17:28:29 -08:00
Walter Bright
f76ea73eff Merge pull request #926 from 9rnsr/fix8923
Supplemental fix for Issue 8923
2012-11-06 20:31:52 -08:00
k-hara
585f5a3a3d fix Issue 8923 - Destructors of struct members get called at the wrong point 2012-11-05 18:27:08 +09:00
Walter Bright
d8cc0025ab Merge branch 'master' of github.com:D-Programming-Language/phobos 2012-11-04 13:59:30 -08:00
Walter Bright
49cbab43c2 enhance __traits(identifier) to pick the identifier out of a parameter list tuple 2012-11-04 13:58:11 -08:00
Denis Shelomovskij
0511b07cfa Fix typo in ddoc comment 2012-11-04 00:30:52 +04:00
Denis Shelomovskij
16d919ae1b Remove rest redundant parenthesis from std.traits
* replace with VS regex: "!\({:i}\)" -> "!\1"
2012-10-31 21:59:09 +04:00
Denis Shelomovskij
c97ea408f0 Refactor std.traits.fullyQualifiedName using CTFE 2012-10-31 21:59:09 +04:00
Denis Shelomovskij
5747da9f49 Refactor std.traits.fullyQualifiedName and its unittests 2012-10-31 21:59:09 +04:00
Denis Shelomovskij
acb48634bd Add more std.traits.moduleName unittests 2012-10-31 21:59:09 +04:00
Denis Shelomovskij
cc8982d986 Refactor std.traits.moduleName and its unittests 2012-10-31 21:59:09 +04:00
Denis Shelomovskij
f173f980df Add more std.traits.packageName unittests
* some of the unittests are commented out because of the Issue 8922
* Issue 8922 URL: http://d.puremagic.com/issues/show_bug.cgi?id=8922
2012-10-31 21:59:09 +04:00
Denis Shelomovskij
303ca7c6b7 Refactor std.traits.packageName and its unittests 2012-10-31 21:27:48 +04:00
Denis Shelomovskij
60a1e79c5c Fix std.traits.hasElaborateCopyConstructor static arrays issue and improve unittests
* the issue is that static arrays can also have elaborate copy constructors
* unittests are merged from `hasElaborateDestructor` ones
2012-10-31 21:27:48 +04:00
Denis Shelomovskij
579a346d2c Improve std.traits.hasElaborateDestructor unittests 2012-10-31 21:27:33 +04:00
Denis Shelomovskij
8417ac1c4c Simplify std.traits.hasElaborateCopyConstructor 2012-10-31 02:06:20 +04:00