diff --git a/Makefile.common b/Makefile.common index d48647db9c5..f3316ba962b 100644 --- a/Makefile.common +++ b/Makefile.common @@ -592,7 +592,7 @@ LIB_OPTS_P := $(LLVM_LIBS_OPTIONS_P) $(PROJ_LIBS_OPTIONS_P) # USED_LIB_PATHS - Compute the path of the libraries used so that tools are # rebuilt if libraries change. This has to make sure to handle .a/.so and .o -# files seperately. +# files separately. # STATICUSEDLIBS := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(USEDLIBS))) USED_LIB_PATHS_G := $(addprefix $(DESTLIBDEBUG)/, $(STATICUSEDLIBS)) diff --git a/Makefile.rules b/Makefile.rules index d48647db9c5..f3316ba962b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -592,7 +592,7 @@ LIB_OPTS_P := $(LLVM_LIBS_OPTIONS_P) $(PROJ_LIBS_OPTIONS_P) # USED_LIB_PATHS - Compute the path of the libraries used so that tools are # rebuilt if libraries change. This has to make sure to handle .a/.so and .o -# files seperately. +# files separately. # STATICUSEDLIBS := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(USEDLIBS))) USED_LIB_PATHS_G := $(addprefix $(DESTLIBDEBUG)/, $(STATICUSEDLIBS)) diff --git a/lib/Analysis/Expressions.cpp b/lib/Analysis/Expressions.cpp index 9b305bbe409..f1016a50dbe 100644 --- a/lib/Analysis/Expressions.cpp +++ b/lib/Analysis/Expressions.cpp @@ -253,7 +253,7 @@ ExprType ClassifyExpression(Value *Expr) { Instruction *I = cast(Expr); const Type *Ty = I->getType(); - switch (I->getOpcode()) { // Handle each instruction type seperately + switch (I->getOpcode()) { // Handle each instruction type separately case Instruction::Add: { ExprType Left (ClassifyExpression(I->getOperand(0))); ExprType Right(ClassifyExpression(I->getOperand(1)));