From 121aef6480b28673be4d0130878df9fc9c113de2 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Thu, 13 Apr 2017 16:32:16 +0000 Subject: [PATCH] [DeLICM] Rename Knowledge to KnowledgeStr. NFC. Some debuggers get confused by different class of the same name defined independently in different translation units. git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@300207 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/DeLICM/DeLICMTest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/unittests/DeLICM/DeLICMTest.cpp b/unittests/DeLICM/DeLICMTest.cpp index f44e342f..a8712cc7 100644 --- a/unittests/DeLICM/DeLICMTest.cpp +++ b/unittests/DeLICM/DeLICMTest.cpp @@ -49,7 +49,7 @@ typedef struct { const char *OccupiedStr; const char *UndefStr; const char *WrittenStr; -} Knowledge; +} KnowledgeStr; isl::union_set parseSetOrNull(isl_ctx *Ctx, const char *Str) { if (!Str) @@ -57,7 +57,8 @@ isl::union_set parseSetOrNull(isl_ctx *Ctx, const char *Str) { return isl::union_set(Ctx, Str); } -bool checkIsConflictingNonsymmetric(Knowledge Existing, Knowledge Proposed) { +bool checkIsConflictingNonsymmetric(KnowledgeStr Existing, + KnowledgeStr Proposed) { std::unique_ptr Ctx(isl_ctx_alloc(), &isl_ctx_free); @@ -127,7 +128,7 @@ bool checkIsConflictingNonsymmetric(Knowledge Existing, Knowledge Proposed) { return Result; } -bool checkIsConflicting(Knowledge Existing, Knowledge Proposed) { +bool checkIsConflicting(KnowledgeStr Existing, KnowledgeStr Proposed) { auto Forward = checkIsConflictingNonsymmetric(Existing, Proposed); auto Backward = checkIsConflictingNonsymmetric(Proposed, Existing); -- 2.11.4.GIT