Cleanup the formatting of this header. This removes the namespace indent

and reformats a few constructors using clang-format. Only whitespace
changes here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173018 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2013-01-21 10:08:42 +00:00
parent 77c27f4394
commit 4ef13242ab

View File

@ -19,7 +19,6 @@
#include <climits>
namespace llvm {
class CallSite;
class DataLayout;
class Function;
@ -60,8 +59,7 @@ namespace llvm {
const int Threshold;
// Trivial constructor, interesting logic in the factory functions below.
InlineCost(int Cost, int Threshold)
: Cost(Cost), Threshold(Threshold) {}
InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {}
public:
static InlineCost get(int Cost, int Threshold) {
@ -129,6 +127,7 @@ namespace llvm {
/// \brief Minimal filter to detect invalid constructs for inlining.
bool isInlineViable(Function &Callee);
};
}
#endif