projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318ed7c
)
Use LLVM_DELETED_FUNCTION on unimplemented copy constructor and assignment operator.
author
Craig Topper
<craig.topper@gmail.com>
Mon, 1 Jul 2013 04:07:34 +0000
(
04:07
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Mon, 1 Jul 2013 04:07:34 +0000
(
04:07
+0000)
llvm-svn: 185302
clang/lib/Format/FormatToken.h
patch
|
blob
|
history
diff --git
a/clang/lib/Format/FormatToken.h
b/clang/lib/Format/FormatToken.h
index
58cec43
..
8798f8f
100644
(file)
--- a/
clang/lib/Format/FormatToken.h
+++ b/
clang/lib/Format/FormatToken.h
@@
-270,8
+270,8
@@
struct FormatToken {
private:
// Disallow copying.
- FormatToken(const FormatToken &);
- void operator=(const FormatToken &);
+ FormatToken(const FormatToken &)
LLVM_DELETED_FUNCTION
;
+ void operator=(const FormatToken &)
LLVM_DELETED_FUNCTION
;
};
} // namespace format