Skip to content

Commit ff92274

Browse files
committed
format
1 parent 333befd commit ff92274

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

clang/include/clang/Basic/Builtins.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ class Context {
103103
llvm::StringRef getName(unsigned ID) const { return getRecord(ID).Name; }
104104

105105
/// Get the type descriptor string for the specified builtin.
106-
const char *getTypeString(unsigned ID) const {
107-
return getRecord(ID).Type;
108-
}
106+
const char *getTypeString(unsigned ID) const { return getRecord(ID).Type; }
109107

110108
/// Return true if this function is a target-specific builtin.
111109
bool isTSBuiltin(unsigned ID) const {

clang/include/clang/Basic/TargetInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,6 @@ class TargetInfo : public TransferrableTargetInfo,
10091009
virtual void getTargetDefines(const LangOptions &Opts,
10101010
MacroBuilder &Builder) const = 0;
10111011

1012-
10131012
/// Return information about target-specific builtins for
10141013
/// the current primary target, and info about which builtins are non-portable
10151014
/// across the current set of primary and secondary targets.

clang/lib/Basic/Builtins.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static bool builtinIsSupported(const Builtin::Info &BuiltinInfo,
134134
void Builtin::Context::initializeBuiltins(IdentifierTable &Table,
135135
const LangOptions& LangOpts) {
136136
// Step #1: mark all target-independent builtins with their ID's.
137-
for (unsigned i = Builtin::NotBuiltin+1; i != Builtin::FirstTSBuiltin; ++i)
137+
for (unsigned i = Builtin::NotBuiltin + 1; i != Builtin::FirstTSBuiltin; ++i)
138138
if (builtinIsSupported(BuiltinInfo[i], LangOpts)) {
139139
Table.get(BuiltinInfo[i].Name).setBuiltinID(i);
140140
}

0 commit comments

Comments
 (0)