Remove unreachable 'return true' always dominated by 'return Error' or 'return false'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203171 91177308-0d34-0410-b5e6-96231b3b80d8
Convert test to FileCheck.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203173 91177308-0d34-0410-b5e6-96231b3b80d8
Remove shouldEmitUsedDirectiveFor.

Clang now uses llvm.compiler.used for these cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203174 91177308-0d34-0410-b5e6-96231b3b80d8
Merge http://llvm.org/git/llvm into develop_35

Conflicts:
	lib/Transforms/IPO/GlobalOpt.cpp
Merge branch 'master' of http://llvm.org/git/llvm into develop_35