summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-14 19:42:55 +0000
committerAlp Toker <alp@nuanti.com>2014-07-14 19:42:55 +0000
commit958027b698525787804ba5bf8ba45326a55dc274 (patch)
tree592e1961fbbd281867eb1ef884046b6b88276b5e /clang/lib/Format/Format.cpp
parent973b2ff322ca2a04540aa035dc80ae71e6c25d7e (diff)
downloadbcm5719-llvm-958027b698525787804ba5bf8ba45326a55dc274.tar.gz
bcm5719-llvm-958027b698525787804ba5bf8ba45326a55dc274.zip
Fix typos
Also consolidate 'backward compatibility' llvm-svn: 212974
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index be9bbed9c41..58dd5604e42 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -104,7 +104,7 @@ struct ScalarEnumerationTraits<FormatStyle::PointerAlignmentStyle> {
IO.enumCase(Value, "Left", FormatStyle::PAS_Left);
IO.enumCase(Value, "Right", FormatStyle::PAS_Right);
- // For backward compability.
+ // For backward compatibility.
IO.enumCase(Value, "true", FormatStyle::PAS_Left);
IO.enumCase(Value, "false", FormatStyle::PAS_Right);
}
OpenPOWER on IntegriCloud