Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
e94f74f6
Commit
e94f74f6
authored
11 years ago
by
Bill Wendling
Browse files
Options
Downloads
Patches
Plain Diff
Use a StringRef. Saves 0.00000000000001s on execution time.
llvm-svn: 194301
parent
1662b832
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang/tools/clang-format/ClangFormat.cpp
+1
-1
1 addition, 1 deletion
clang/tools/clang-format/ClangFormat.cpp
with
1 addition
and
1 deletion
clang/tools/clang-format/ClangFormat.cpp
+
1
−
1
View file @
e94f74f6
...
...
@@ -174,7 +174,7 @@ static bool fillRanges(SourceManager &Sources, FileID ID,
}
// Returns true on error.
static
bool
format
(
std
::
s
tring
FileName
)
{
static
bool
format
(
S
tring
Ref
FileName
)
{
FileManager
Files
((
FileSystemOptions
()));
DiagnosticsEngine
Diagnostics
(
IntrusiveRefCntPtr
<
DiagnosticIDs
>
(
new
DiagnosticIDs
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment