[DeLICM] Rename Knowledge to KnowledgeStr. NFC.

Some debuggers get confused by different class of the same name
defined independently in different translation units.

llvm-svn: 300207
This commit is contained in:
Michael Kruse 2017-04-13 16:32:16 +00:00
parent 6170765a3c
commit 5e6456979b
1 changed files with 4 additions and 3 deletions

View File

@ -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<isl_ctx, decltype(&isl_ctx_free)> 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);