aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-11-05 07:19:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-11-05 07:19:21 +0000
commit9e1ebdd97ba0c593900cb7f103324c43471e96ee (patch)
treeeffec0a2830c82561bcb9b6ac819576ccfb61897
parentc8df0b634ee5ca8573852fdc96252b8bba5a10db (diff)
Fix 80-col violas.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118273 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/libclang/CIndex.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index 0d660da98d..2c68aa5076 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -2131,12 +2131,12 @@ CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx,
const char *source_filename,
const char * const *command_line_args,
int num_command_line_args,
- struct CXUnsavedFile *unsaved_files,
+ struct CXUnsavedFile *unsaved_files,
unsigned num_unsaved_files,
unsigned options) {
ParseTranslationUnitInfo PTUI = { CIdx, source_filename, command_line_args,
- num_command_line_args, unsaved_files, num_unsaved_files,
- options, 0 };
+ num_command_line_args, unsaved_files,
+ num_unsaved_files, options, 0 };
llvm::CrashRecoveryContext CRC;
if (!CRC.RunSafely(clang_parseTranslationUnit_Impl, &PTUI)) {
@@ -2490,7 +2490,8 @@ typedef struct _CXChildVisitResult
void *isa;
int flags;
int reserved;
- enum CXChildVisitResult(*invoke)(struct _CXChildVisitResult*, CXCursor, CXCursor);
+ enum CXChildVisitResult(*invoke)(struct _CXChildVisitResult*, CXCursor,
+ CXCursor);
} *CXCursorVisitorBlock;
static enum CXChildVisitResult visitWithBlock(CXCursor cursor, CXCursor parent,
@@ -2501,7 +2502,8 @@ static enum CXChildVisitResult visitWithBlock(CXCursor cursor, CXCursor parent,
#endif
-unsigned clang_visitChildrenWithBlock(CXCursor parent, CXCursorVisitorBlock block) {
+unsigned clang_visitChildrenWithBlock(CXCursor parent,
+ CXCursorVisitorBlock block) {
return clang_visitChildren(parent, visitWithBlock, block);
}
@@ -3457,7 +3459,7 @@ CXCursor clang_getCursorDefinition(CXCursor C) {
D->getLocation(), CXXUnit);
case Decl::ObjCClass:
- return MakeCursorOverloadedDeclRef(cast<ObjCClassDecl>(D), D->getLocation(),
+ return MakeCursorOverloadedDeclRef(cast<ObjCClassDecl>(D), D->getLocation(),
CXXUnit);
case Decl::Friend:
@@ -4056,9 +4058,9 @@ void clang_annotateTokens(CXTranslationUnit TU,
reprocess:
if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) {
// We have found a preprocessing directive. Gobble it up so that we
- // don't see it while preprocessing these tokens later, but keep track of
- // all of the token locations inside this preprocessing directive so that
- // we can annotate them appropriately.
+ // don't see it while preprocessing these tokens later, but keep track
+ // of all of the token locations inside this preprocessing directive so
+ // that we can annotate them appropriately.
//
// FIXME: Some simple tests here could identify macro definitions and
// #undefs, to provide specific cursor kinds for those.