summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-03 19:56:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-03 19:56:14 +0000
commitb8f3fe8ec5c185db19e28a95dbb26de5b75191f1 (patch)
tree12521119f0d6d38bc4d5a10339118e016cfedd24 /llvm
parentf9cf05370f4519dd83ec52d9e30f0b087bcb7ae6 (diff)
downloadbcm5719-llvm-b8f3fe8ec5c185db19e28a95dbb26de5b75191f1.tar.gz
bcm5719-llvm-b8f3fe8ec5c185db19e28a95dbb26de5b75191f1.zip
Remove the find_rule label from the output of flex. This will break any
use of the REJECT macro but we don't use it. This just hushes up a warning in the presence of -Wno-unused. llvm-svn: 32843
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 93a01932e7b..787a012c598 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -1264,6 +1264,7 @@ $(PROJ_SRC_DIR)/%.cpp: $(PROJ_SRC_DIR)/%.l
$(Verb) $(FLEX) -t $(PROJ_SRC_DIR)/$*.l | \
$(SED) 's/void yyunput/inline void yyunput/' | \
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
+ $(SED) 's/^find_rule: \/\* we branch.*//' | \
$(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' \
> $(PROJ_SRC_DIR)/$*.cpp
OpenPOWER on IntegriCloud