mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
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:
parent
77c27f4394
commit
4ef13242ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user