[polly] r300207 - [DeLICM] Rename Knowledge to KnowledgeStr. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 09:32:17 PDT 2017
Author: meinersbur
Date: Thu Apr 13 11:32:16 2017
New Revision: 300207
URL: http://llvm.org/viewvc/llvm-project?rev=300207&view=rev
Log:
[DeLICM] Rename Knowledge to KnowledgeStr. NFC.
Some debuggers get confused by different class of the same name
defined independently in different translation units.
Modified:
polly/trunk/unittests/DeLICM/DeLICMTest.cpp
Modified: polly/trunk/unittests/DeLICM/DeLICMTest.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/unittests/DeLICM/DeLICMTest.cpp?rev=300207&r1=300206&r2=300207&view=diff
==============================================================================
--- polly/trunk/unittests/DeLICM/DeLICMTest.cpp (original)
+++ polly/trunk/unittests/DeLICM/DeLICMTest.cpp Thu Apr 13 11:32:16 2017
@@ -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 *C
return isl::union_set(Ctx, Str);
}
-bool checkIsConflictingNonsymmetric(Knowledge Existing, Knowledge Proposed) {
+bool checkIsConflictingNonsymmetric(KnowledgeStr Existing,
+ KnowledgeStr Proposed) {
std::unique_ptr<isl_ctx, decltype(&isl_ctx_free)> Ctx(isl_ctx_alloc(),
&isl_ctx_free);
@@ -127,7 +128,7 @@ bool checkIsConflictingNonsymmetric(Know
return Result;
}
-bool checkIsConflicting(Knowledge Existing, Knowledge Proposed) {
+bool checkIsConflicting(KnowledgeStr Existing, KnowledgeStr Proposed) {
auto Forward = checkIsConflictingNonsymmetric(Existing, Proposed);
auto Backward = checkIsConflictingNonsymmetric(Proposed, Existing);
More information about the llvm-commits
mailing list