parent
6617e0da72
commit
0ab833c947
@ -1,4 +1,4 @@
|
||||
DIST gqlplus-1.16.tar.gz 2128428 SHA256 9e0071d6f8bc24b0b3623c69d9205f7d3a19c2cb32b5ac9cff133dc75814acdd SHA512 e9d7685e4db741db8232f7ba7a05df59042d0cafe198060adcd37aea2d3878e785eacb1f7b72fcb154558d1be8c619818dbeceffaefb75e372a18ed23e234512 WHIRLPOOL d4c06fce8774c4f6ad6a37e7c48f7720fef8cf4fb40997ff2ae14e148a5e3d6cab4c293d5ea7a4888d4764233707a8845dfac8862bab960f40f6163e7d914d8f
|
||||
EBUILD gqlplus-1.16.ebuild 746 SHA256 b2109ba549f6d66333baf08d101916a69ab26d2c0da054d202a7c865f4054ce8 SHA512 250fbe1aa29b54d3aae952805fd078e5883310b1c6ebb58ce101eefdf226bac35303b8c53aa0efeddb79b436e33ed6950710cbe705aaac9aeeae12d7c95e7d3c WHIRLPOOL 26cf38d470678c06c0f14536ad0ce30963164a3c35847bbf1a73d62d2f892fbfcbd2662870041d8c10a7a7501b6311b2fd24dca1341dac8cd7ec6b03ead3bdb3
|
||||
EBUILD gqlplus-1.16.ebuild 759 SHA256 a1984f98a7d4c00cc46879ed613066815fa43a650bee764ab95a19885cdc091d SHA512 a4802ff2d4f1425ab1c0e943125c930a876bd7fdd3e038cd4790a5401a251271b8911805978d6a83336cfadb64a9bf3eaf8372f52df41ad90fcc1f239f54c6cf WHIRLPOOL ebd5d40087c71942435a83f5e01314156f4306f20f5d67857bde4f2e0dc9712642e32a3a1746d507d34ecd0ad40638a1c3932a8d0286fc773993d3f7b2c51f02
|
||||
MISC ChangeLog 429 SHA256 26b1486ee505c3c91d1de98d42e6b28e852caab309ee4e177e44c4faec93176a SHA512 18da537d946dd4aedb2f2e5e41bff747d269d51dde4a065aa20657699ba6224158316de64f88d4d5db7b764fe42eca1f46138a22056c353096fda745197b7927 WHIRLPOOL 6babaf86011a4446865a7851cfceedf79f22fac1794d6ad7e6cd3bf7cac7470e7761f6868ed0fd320478ede6e87c72dd0573ebd92bfbc631ac1cf5d5a7f0862f
|
||||
MISC metadata.xml 543 SHA256 6ed7eaaa25d8612eb33933197fd6487cb74558c2c83207d85533aa3f7b3ae85c SHA512 6d536b9c25e44fc78399fe0989189cb0f12e426c2810173b9eb85019d501b632324cab8d4d42fdcaa358ead84d9bac48c3f7c80c5ae5a3d0afc81a967b09565f WHIRLPOOL 690c8b43d584d12857f8d4f9a10053e162657996273f2fb2a3faa4cc194f0c1a5f85124cff73fcd7451ed18009e51009fe85c60837f1f49a06ed6234c0acfb95
|
||||
|
@ -1,15 +1,9 @@
|
||||
AUX include-what-you-use-3.3-issue-110-elaboration.patch 10880 SHA256 a53ce14f3d9e7178609b3d314f01fabf2e5d3ef713db25fd73325c4ef917e428 SHA512 a3aef2507b45c2a1864438a037367520781ee1e252025b466a74d0b4a6414a8d87116404d395c77df0de0484c6aa9c28711cbf3e79b9777746c5cc474f7c196e WHIRLPOOL c034668a69d700528a5fe535402d9db0296f0b1a8dfaf872f774bda9598fbcf4532313644d56ae8e7477ee964a39ee2f7a7c6be2fb9447c91a220684213c272f
|
||||
DIST include-what-you-use-3.3.tar.gz 287279 SHA256 4aa3a4b1f9450c731c9cb125db6906d2b6bce093297dd1811bdc191c35a443be SHA512 70d7052a0cd5d82fc9d8fcec2fa222f38a02517ad1f6aa6bcff1b9a5170372dd090aebe3989746727ec883a21bf44c5d5602ebe0f8a021cfc2124fb81a14a238 WHIRLPOOL 04fbc8bef3b176327f88eb5edae8a14a046803b06a7782c548690e222b00c9f3e8aace71395bbc41ed5b928e60fe2531bbcb9650655386dc5499da14e746f255
|
||||
DIST include-what-you-use-3.4.src.tar.gz 291851 SHA256 73cf2c715c8604c4e832d0a63773210a2cd396988c970ddcbe8fe35bc026d0a4 SHA512 bf02abeb3df27d319db8c6ff7d8319f9cfb301206c77378f8a18d2be7b82ecc6179a034eeb52c18cade6d98288abaf9efc534c221fb2ab93730567c41e77ad11 WHIRLPOOL 5e39837909ac36bfc45868723f93593c0366020d3f4f6de3f0258497ad01184e6ae17e9aa8bace1d2b27b77c4351856adf9f07eb9a6ec2d39d23bf9672f30e39
|
||||
DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea31c62d096e131e359ac69a5d6a2a237393ad4f1 SHA512 5e5c310dbb673eab7c5e2234fa6a35eebdb208b6b779fcd38503e15617a7a6bea6d6dce081c4620f7ec5895628ed037a091e8917d28538c2fe936d848459ea53 WHIRLPOOL 452ae42b39a4fffbb462bc9e33244bf2dca1e0b8676b015fb08f350ec9249f15aadc706e3dcd62e12b511c2daf96fdbcd2aa97145f64a7d183be2428111af5a1
|
||||
DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58
|
||||
DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336
|
||||
EBUILD include-what-you-use-3.3-r1.ebuild 772 SHA256 8ab6992dc73b8e65541c1c0807ebd06700abf1bd52c1444559914a4a59c10131 SHA512 248f829d1a926228a34f4d948cec86268ec7578245030e12b8813701cf1ecb62940760f0cb5d7f985c00f0aba7b2822c303b09d8f126d503c04156297f31c33d WHIRLPOOL 5c88dc79d9a3d808d4023a30ed1b53fddf3a20641fc01614e86da0a685aa86d9c5d8e32ecb3d4d4337e81bc2a401cc42c4a64c829e476b10a1a2881c4283a71e
|
||||
EBUILD include-what-you-use-3.4.ebuild 721 SHA256 e43707127dc11958ac6bc8d651b33d1ea44d9ac7ec11a6dda4204d09e4fc2ba9 SHA512 313637ed8110fbe17c322a471c09a3ffc68f06e8b9dc9a24b1f3d3489415b727b3e3ca9fefe06d963f6169f3e203369322674ebbd45e2502cf7d4c3910c36821 WHIRLPOOL 299dd5d5aa65e4d3bfe77d34cbcc1076c4b2e39416526a8879a4a9b79bd5d5547ec8991dd7e758e5dede450d4ef5b5ee536afcb49a7e3034c4c1aec5942e7b7d
|
||||
EBUILD include-what-you-use-3.5.ebuild 715 SHA256 3cd06d7fe49be3532a078d885a3a9a101383d3f817ee746870903326a1414ebb SHA512 5db4bf2f6449682330544e8251c51f6da69d3bc20ced43f7a6de716091e02475a2680c7c9787334d406cf23cf437cb2c2f53a9ca0071d18834a77f0227153c42 WHIRLPOOL ba4890bfb0576ef66e9dddf41cc2691d9fb8cf85f9ad097f0ff9a515bc9b748b7da8571104cd8f1d80ef30310ca5faf550eaf614b59f3d7da209b0f170d6384d
|
||||
EBUILD include-what-you-use-3.6-r1.ebuild 740 SHA256 2a93c4e6b86895bb78547cd5f27ff7a92b2447eade1ee992231f0cafd73c779c SHA512 668218ea8428e5c2378810fd24274c2dddcf55d6b3647a9bd8eabd9f7f4d86c91c868345a9fbd59896e86859917e5cf5e53a93f7398d0f3bf339065ff2896d2d WHIRLPOOL 23dea6a372e25e6edd1cccb5a8da90883539475799e6463ac5cc43d73e62830b9480f3fc85cc6b0cc1a3376274f95cbbc7a392fcb2c5d4e02e1b0322ec74419d
|
||||
EBUILD include-what-you-use-3.6.ebuild 767 SHA256 1613237810328a6d224b945b8ed60b2fd50871d5903fb54d20dce57640623df0 SHA512 9260dd915ca1a0369da8ba764e8b745dd1cf023d5545d294e9b5f0c2de16d636a07cfa625e05ade2bb141ccc0804af180dde656e3ea22c7b62641ced57a25942 WHIRLPOOL 96ebf8dae3c37cef045bcd05c928025040f116ea105b582a2b53bec76876a8b535c89c109b7b04744ef5fa54f2a417fd252a2032d6b0c77d792be914225aef78
|
||||
EBUILD include-what-you-use-3.7.ebuild 700 SHA256 61526e9b6918e379c1e45b0a37552543b50cb5ddf0c6ee44bde35fcc9d264921 SHA512 a2172117a9fd186d42dd21965dffe614f019c71e0579cc9df5f1077304475e2a7b4ccba8182eb911c4f712bed11131e433a4fc41a12650f684eefbe09fee5e5d WHIRLPOOL 1da44a44a301d2170877f139d89e24bf87f98e1b089200668d9ffdfc9ac9c7415e76cdbff36a71db3d750de124b4d31fda91fb1d7787149bf8ce24014e619786
|
||||
EBUILD include-what-you-use-3.7-r1.ebuild 700 SHA256 7ba7e6b950463089bd0241b7ee7c84931fd140a4055b9d759f4975bb87cb0f40 SHA512 02f34438e758d794ff64fa056ac16585403dbdc356e837997be2e9ebd6c2eba37f7fe96f8d7804028fb3af3e587c9c7bb32f5bd1af565e38f24d735d58b3d4fa WHIRLPOOL 39da272a63324fd6fb68685c73ad1d4a3be506fbe5c6e73565e5b84a45afde68bbb19943e8f7ae276e2714c9f4bcca26e59daa78add19381b4708d9250acd46d
|
||||
MISC ChangeLog 3455 SHA256 92551fa1f0c270a496ea1e8417a6726d9f350d2048aa8237334618e7d5f6d3ed SHA512 1daae4baacd34d62140d581bc8e7b6e1169550199245e949813f32b1fbc8218d966cb4c7de4e388b78480d3d48750424550d5f0387b8e4561432b2bf4a6ed0fc WHIRLPOOL e4f2c9a602f219983131f769bacc8d0e17e3188ed276e4710b70704639a05a738ef55f1f4cbc5b7ad9cb75ad256d6cf10ec85df54c908eec43b6e810a8685d22
|
||||
MISC ChangeLog-2015 1268 SHA256 32d05ad35a052c3e0585161ba400599850ed18b63d19381993976da71a486188 SHA512 3796f7114c980f0f907ec948978761380a60b00cbdef9321861f8c876534a3d1a910645275656981d77bac96f009663a9373d6fcb2a253dc83f6826060b92891 WHIRLPOOL bbac07fb5c8af0a9f9ed101741c80d21c86dc1a605f6c7642397bec771799f07476b71aaf57b0fa82313304abd4ed84e6cdc2ecd0e8c8bfbe7bfa2951673fbb4
|
||||
MISC metadata.xml 357 SHA256 3be167dec76700c7fcdfa29ec5776eb3888fdded384d4278a7d3d651f7e4e730 SHA512 03c298d184adee1c8bd96855ba3856dbc6797f6f866397485cc10c3e02956f7bb04811a086e9cf50bbd6f996011d08ca2d272aa4b06f13ee62af5a585f67b492 WHIRLPOOL 46c28f762f786bbe42c5cb6a4bdbd6a5a584782e200d19465d01492d07cac806271ac3178fbc6586ee951b574fe69e8f4defa70d29792f3fb7d887d0ec7d53a1
|
||||
|
@ -1,299 +0,0 @@
|
||||
Upstream-bug: http://code.google.com/p/include-what-you-use/issues/detail?id=110
|
||||
Index: tests/elaboration-struct.h
|
||||
===================================================================
|
||||
--- tests/elaboration-struct.h (revision 0)
|
||||
+++ tests/elaboration-struct.h (revision 0)
|
||||
@@ -0,0 +1,10 @@
|
||||
+//===--- elaboration-struct.h - test input file for iwyu ------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+struct ElaborationStruct {};
|
||||
|
||||
Property changes on: tests\elaboration-struct.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration.cc
|
||||
===================================================================
|
||||
--- tests/elaboration.cc (revision 0)
|
||||
+++ tests/elaboration.cc (revision 0)
|
||||
@@ -0,0 +1,79 @@
|
||||
+//===--- elaboration.cc - test input file for iwyu ------------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+// Test that elaborated types are handled correctly.
|
||||
+//
|
||||
+// An elaborated type is a type prefixed by type kind, e.g. 'class Foo',
|
||||
+// 'struct Bar' or 'enum Baz'.
|
||||
+//
|
||||
+// Clang considers namespace-qualified types elaborated as well, even if they
|
||||
+// lack actual elaboration, e.g. 'ns::Foo'.
|
||||
+
|
||||
+
|
||||
+#include "tests/elaboration-enum1.h" // for ElaborationEnum1
|
||||
+#include "tests/elaboration-enum2.h" // for ElaborationEnum2
|
||||
+
|
||||
+// Make sure both elaborated and bare enums require the full type.
|
||||
+void bare_enum(ElaborationEnum1 e);
|
||||
+void elaborated_enum(enum ElaborationEnum2 e);
|
||||
+
|
||||
+// For C++ classes, a forward declaration should suffice for
|
||||
+// bare type names and nothing should be necessary for elaborated ones.
|
||||
+#include "tests/elaboration-class.h"
|
||||
+
|
||||
+void bare_class(ElaborationClass* c);
|
||||
+void elaborated_class(class UnknownElaborationClass* c);
|
||||
+
|
||||
+// Structs should work like classes.
|
||||
+#include "tests/elaboration-struct.h"
|
||||
+
|
||||
+void bare_struct(ElaborationStruct* s);
|
||||
+void elaborated_struct(struct UnknownElaborationStruct* s);
|
||||
+
|
||||
+// And unions.
|
||||
+#include "tests/elaboration-union.h"
|
||||
+
|
||||
+void bare_union(ElaborationUnion* u);
|
||||
+void elaborated_union(union UnknownElaborationUnion* u);
|
||||
+
|
||||
+// Namespace-qualified types must be forward-declared even
|
||||
+// if they are represented as elaborated types in Clang's AST.
|
||||
+#include "tests/elaboration-namespace.h"
|
||||
+
|
||||
+void namespace_qualified(Elaboration::Class* c);
|
||||
+
|
||||
+// We can use elaborated types for templates, too, but
|
||||
+// they must also be forward-declared.
|
||||
+struct Elaboration::Template<int, float>* namespace_qualified_template;
|
||||
+
|
||||
+/**** IWYU_SUMMARY
|
||||
+
|
||||
+tests/elaboration.cc should add these lines:
|
||||
+class ElaborationClass;
|
||||
+namespace Elaboration { class Class; }
|
||||
+namespace Elaboration { template <typename T, typename U> struct Template; }
|
||||
+struct ElaborationStruct;
|
||||
+union ElaborationUnion;
|
||||
+
|
||||
+tests/elaboration.cc should remove these lines:
|
||||
+- #include "tests/elaboration-class.h" // lines XX-XX
|
||||
+- #include "tests/elaboration-namespace.h" // lines XX-XX
|
||||
+- #include "tests/elaboration-struct.h" // lines XX-XX
|
||||
+- #include "tests/elaboration-union.h" // lines XX-XX
|
||||
+
|
||||
+The full include-list for tests/elaboration.cc:
|
||||
+#include "tests/elaboration-enum1.h" // for ElaborationEnum1
|
||||
+#include "tests/elaboration-enum2.h" // for ElaborationEnum2
|
||||
+class ElaborationClass;
|
||||
+namespace Elaboration { class Class; }
|
||||
+namespace Elaboration { template <typename T, typename U> struct Template; }
|
||||
+struct ElaborationStruct;
|
||||
+union ElaborationUnion;
|
||||
+
|
||||
+***** IWYU_SUMMARY */
|
||||
Index: tests/elaboration-enum1.h
|
||||
===================================================================
|
||||
--- tests/elaboration-enum1.h (revision 0)
|
||||
+++ tests/elaboration-enum1.h (revision 0)
|
||||
@@ -0,0 +1,13 @@
|
||||
+//===--- elaboration-enum1.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+enum ElaborationEnum1 {
|
||||
+ EE1_First,
|
||||
+ EE1_Second
|
||||
+};
|
||||
|
||||
Property changes on: tests\elaboration-enum1.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration-class.h
|
||||
===================================================================
|
||||
--- tests/elaboration-class.h (revision 0)
|
||||
+++ tests/elaboration-class.h (revision 0)
|
||||
@@ -0,0 +1,10 @@
|
||||
+//===--- elaboration-class.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+class ElaborationClass {};
|
||||
|
||||
Property changes on: tests\elaboration-class.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/badinc.cc
|
||||
===================================================================
|
||||
--- tests/badinc.cc (revision 485)
|
||||
+++ tests/badinc.cc (working copy)
|
||||
@@ -317,17 +317,12 @@
|
||||
// IWYU: I2_Class is...*badinc-i2.h.*for autocast
|
||||
// IWYU: I2_Class needs a declaration
|
||||
const I2_Class& i2,
|
||||
- const class I1_Class& elaborated_i1,
|
||||
- // IWYU: I2_Class is...*badinc-i2.h.*for autocast
|
||||
- const class I2_Class& elaborated_i2,
|
||||
// A subtle c++ point: forward-declaring is ok for i2b, because
|
||||
// you can't do implicit conversion to a non-const reference
|
||||
// (implicit conversion involves creating a temporary, which
|
||||
// doesn't bind to non-const references).
|
||||
// IWYU: I2_Class needs a declaration
|
||||
I2_Class& i2_nonconst,
|
||||
- class I2_Class& elaborated_i2_nonconst,
|
||||
- struct i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceStruct* i3_forward,
|
||||
// Forward-declaring is ok because we a const reference to a *pointer*.
|
||||
// IWYU: I2_Class needs a declaration
|
||||
I2_Class* const & i2_ptrref,
|
||||
@@ -897,11 +892,6 @@
|
||||
// IWYU: I3_ForwardDeclareNamespaceTemplateStruct needs a declaration
|
||||
i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceTemplateStruct<H_Enum, 2>*
|
||||
i3_fdtns_struct;
|
||||
-// Even with elaboration, we still need fwd decl.
|
||||
-// IWYU: I3_ForwardDeclareNamespaceTemplateStruct needs a declaration
|
||||
-struct i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceTemplateStruct<H_Enum,
|
||||
- 3>*
|
||||
- i3_elaborated_fdtns_struct;
|
||||
|
||||
// IWYU: I3_UnnamedNamespaceStruct needs a declaration
|
||||
i3_ns1::I3_UnnamedNamespaceStruct* i3_unnamed_namespace_struct;
|
||||
Index: tests/elaboration-enum2.h
|
||||
===================================================================
|
||||
--- tests/elaboration-enum2.h (revision 0)
|
||||
+++ tests/elaboration-enum2.h (revision 0)
|
||||
@@ -0,0 +1,13 @@
|
||||
+//===--- elaboration-enum2.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+enum ElaborationEnum2 {
|
||||
+ EE2_First,
|
||||
+ EE2_Second
|
||||
+};
|
||||
|
||||
Property changes on: tests\elaboration-enum2.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration-union.h
|
||||
===================================================================
|
||||
--- tests/elaboration-union.h (revision 0)
|
||||
+++ tests/elaboration-union.h (revision 0)
|
||||
@@ -0,0 +1,10 @@
|
||||
+//===--- elaboration-union.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+union ElaborationUnion {};
|
||||
|
||||
Property changes on: tests\elaboration-union.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration-namespace.h
|
||||
===================================================================
|
||||
--- tests/elaboration-namespace.h (revision 0)
|
||||
+++ tests/elaboration-namespace.h (revision 0)
|
||||
@@ -0,0 +1,18 @@
|
||||
+//===--- elaboration-namespace.h - test input file for iwyu ---------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+namespace Elaboration {
|
||||
+ class Class {};
|
||||
+
|
||||
+ template< typename T, typename U >
|
||||
+ struct Template {
|
||||
+ typedef T FirstType;
|
||||
+ typedef U SecondType;
|
||||
+ };
|
||||
+}
|
||||
|
||||
Property changes on: tests\elaboration-namespace.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: iwyu.cc
|
||||
===================================================================
|
||||
--- iwyu.cc (revision 485)
|
||||
+++ iwyu.cc (working copy)
|
||||
@@ -166,6 +166,7 @@
|
||||
using clang::DeclContext;
|
||||
using clang::DeclRefExpr;
|
||||
using clang::ElaboratedType;
|
||||
+using clang::EnumType;
|
||||
using clang::Expr;
|
||||
using clang::FileEntry;
|
||||
using clang::FriendDecl;
|
||||
@@ -3454,6 +3455,7 @@
|
||||
preprocessor_info().FileInfoFor(CurrentFileEntry())->AddForwardDeclare(
|
||||
decl_to_fwd_declare, definitely_keep_fwd_decl);
|
||||
}
|
||||
+
|
||||
return Base::VisitTagDecl(decl);
|
||||
}
|
||||
|
||||
@@ -3562,13 +3564,17 @@
|
||||
// If we're forward-declarable, then no complicated checking is
|
||||
// needed: just forward-declare. If we're already elaborated
|
||||
// ('class Foo x') but not namespace-qualified ('class ns::Foo x')
|
||||
- // there's no need even to forward-declare!
|
||||
+ // or an enum ('enum Foo x') there's no need even to forward-declare!
|
||||
if (CanForwardDeclareType(current_ast_node())) {
|
||||
current_ast_node()->set_in_forward_declare_context(true);
|
||||
+
|
||||
+ bool is_enum_type = current_ast_node()->GetAs<EnumType>();
|
||||
if (!IsElaborationNode(current_ast_node()->parent()) ||
|
||||
- IsNamespaceQualifiedNode(current_ast_node()->parent())) {
|
||||
+ IsNamespaceQualifiedNode(current_ast_node()->parent()) ||
|
||||
+ is_enum_type) {
|
||||
ReportDeclForwardDeclareUse(CurrentLoc(), type->getDecl());
|
||||
}
|
||||
+
|
||||
return Base::VisitTagType(type);
|
||||
}
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="find unused include directives in C/C++ programs"
|
||||
HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use"
|
||||
# picked from google drive
|
||||
SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="=sys-devel/llvm-3.3*
|
||||
=sys-devel/clang-3.3*"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-issue-110-elaboration.patch
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-ldflags -L$(llvm-config --libdir)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLVM_PATH=$(llvm-config --libdir)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="find unused include directives in C/C++ programs"
|
||||
HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use"
|
||||
# picked from google drive
|
||||
SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="=sys-devel/llvm-3.4*
|
||||
=sys-devel/clang-3.4*"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-ldflags -L$(llvm-config --libdir)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLVM_PATH=$(llvm-config --libdir)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils flag-o-matic
|
||||
|
||||
WEIRD_UPSREAM_VERSION=0.4
|
||||
|
||||
DESCRIPTION="find unused include directives in C/C++ programs"
|
||||
HOMEPAGE="http://include-what-you-use.org/"
|
||||
SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=sys-devel/llvm-3.6
|
||||
>=sys-devel/clang-3.6
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-ldflags -L$(llvm-config --libdir)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLVM_PATH=$(llvm-config --libdir)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 13 May 2016 06:09:15 +0000
|
||||
Fri, 13 May 2016 08:08:59 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 13 May 2016 06:09:15 +0000
|
||||
Fri, 13 May 2016 08:08:59 +0000
|
||||
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND==sys-devel/llvm-3.3* =sys-devel/clang-3.3* sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=find unused include directives in C/C++ programs
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/include-what-you-use/include-what-you-use
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND==sys-devel/llvm-3.3* =sys-devel/clang-3.3*
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~slyfox/distfiles/include-what-you-use-3.3.tar.gz
|
||||
_eclasses_=cmake-utils 422bbd1bee2557490177a34dbe0a662b eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs d513d423d449877e49d99af3f7af7acb versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=40830c44b4b8e25b55b48d79454f9055
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND==sys-devel/llvm-3.4* =sys-devel/clang-3.4* sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=find unused include directives in C/C++ programs
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/include-what-you-use/include-what-you-use
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND==sys-devel/llvm-3.4* =sys-devel/clang-3.4*
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~slyfox/distfiles/include-what-you-use-3.4.src.tar.gz
|
||||
_eclasses_=cmake-utils 422bbd1bee2557490177a34dbe0a662b eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs d513d423d449877e49d99af3f7af7acb versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=420cb4e08234a417e31f6aab071be9ee
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=sys-devel/llvm-3.6 >=sys-devel/clang-3.6 sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=find unused include directives in C/C++ programs
|
||||
EAPI=5
|
||||
HOMEPAGE=http://include-what-you-use.org/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-devel/llvm-3.6 >=sys-devel/clang-3.6
|
||||
SLOT=0
|
||||
SRC_URI=http://include-what-you-use.org/downloads/include-what-you-use-0.4.src.tar.gz -> include-what-you-use-3.6.src.tar.gz
|
||||
_eclasses_=cmake-utils 422bbd1bee2557490177a34dbe0a662b eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs d513d423d449877e49d99af3f7af7acb versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=8a6e31f434c8dfc5fd34fc8e4ac80ffe
|
@ -1,12 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=sys-devel/llvm-3.7 >=sys-devel/clang-3.7 sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DEPEND==sys-devel/llvm-3.7* =sys-devel/clang-3.7* sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=find unused include directives in C/C++ programs
|
||||
EAPI=6
|
||||
HOMEPAGE=http://include-what-you-use.org/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-devel/llvm-3.7 >=sys-devel/clang-3.7
|
||||
RDEPEND==sys-devel/llvm-3.7* =sys-devel/clang-3.7*
|
||||
SLOT=0
|
||||
SRC_URI=http://include-what-you-use.org/downloads/include-what-you-use-0.5.src.tar.gz -> include-what-you-use-3.7.src.tar.gz
|
||||
_eclasses_=cmake-utils 422bbd1bee2557490177a34dbe0a662b eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs d513d423d449877e49d99af3f7af7acb versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=cc6696cc3d6493827f204f9530462c97
|
||||
_md5_=a1ca2f81f738915395ba8a34d12c2fa0
|
@ -1 +1 @@
|
||||
Fri, 13 May 2016 06:09:15 +0000
|
||||
Fri, 13 May 2016 08:08:59 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri May 13 06:07:57 UTC 2016
|
||||
Fri May 13 08:08:06 UTC 2016
|
||||
|
@ -1 +1 @@
|
||||
Fri, 13 May 2016 06:30:01 +0000
|
||||
Fri, 13 May 2016 08:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1463119801 Fri 13 May 2016 06:10:01 AM UTC
|
||||
1463127002 Fri 13 May 2016 08:10:02 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 13 May 2016 06:09:15 +0000
|
||||
Fri, 13 May 2016 08:08:59 +0000
|
||||
|
Loading…
Reference in new issue