projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6212d31
)
An easy case where GCC should really be able to work out that the value is only
author
Duncan Sands
<baldrick@free.fr>
Thu, 23 Feb 2012 08:25:25 +0000
(08:25 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Thu, 23 Feb 2012 08:25:25 +0000
(08:25 +0000)
used if IsInDevelopmentTree is 'true'. But it doesn't, so help it out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151244
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-config/llvm-config.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-config/llvm-config.cpp
b/tools/llvm-config/llvm-config.cpp
index 641c2c4e69c37dc92e27efeb8e3c6289b5741233..79fd7f8c5aec5636b430914d2e73ca490861b2cc 100644
(file)
--- a/
tools/llvm-config/llvm-config.cpp
+++ b/
tools/llvm-config/llvm-config.cpp
@@
-206,6
+206,7
@@
int main(int argc, char **argv) {
ActiveObjRoot = LLVM_OBJ_ROOT;
} else {
IsInDevelopmentTree = false;
+ DevelopmentTreeLayout = MakefileStyle; // Initialized to avoid warnings.
}
// Compute various directory locations based on the derived location