forked from OSchip/llvm-project
Tabs to spaces. No functionality change.
llvm-svn: 185612
This commit is contained in:
parent
af6bd1b87f
commit
a833c667e2
|
@ -71,36 +71,36 @@ namespace {
|
|||
|
||||
void setDoesNotAccessMemory(Function &F) {
|
||||
if (!F.doesNotAccessMemory()) {
|
||||
F.setDoesNotAccessMemory();
|
||||
++NumAnnotated;
|
||||
F.setDoesNotAccessMemory();
|
||||
++NumAnnotated;
|
||||
}
|
||||
}
|
||||
|
||||
void setOnlyReadsMemory(Function &F) {
|
||||
if (!F.onlyReadsMemory()) {
|
||||
F.setOnlyReadsMemory();
|
||||
++NumAnnotated;
|
||||
F.setOnlyReadsMemory();
|
||||
++NumAnnotated;
|
||||
}
|
||||
}
|
||||
|
||||
void setDoesNotThrow(Function &F) {
|
||||
if (!F.doesNotThrow()) {
|
||||
F.setDoesNotThrow();
|
||||
++NumAnnotated;
|
||||
F.setDoesNotThrow();
|
||||
++NumAnnotated;
|
||||
}
|
||||
}
|
||||
|
||||
void setDoesNotCapture(Function &F, unsigned n) {
|
||||
if (!F.doesNotCapture(n)) {
|
||||
F.setDoesNotCapture(n);
|
||||
++NumAnnotated;
|
||||
F.setDoesNotCapture(n);
|
||||
++NumAnnotated;
|
||||
}
|
||||
}
|
||||
|
||||
void setDoesNotAlias(Function &F, unsigned n) {
|
||||
if (!F.doesNotAlias(n)) {
|
||||
F.setDoesNotAlias(n);
|
||||
++NumAnnotated;
|
||||
F.setDoesNotAlias(n);
|
||||
++NumAnnotated;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue