  We develop a microscopic theory of the weak localization of two-dimensional
massless Dirac fermions which is valid in the whole range of classically weak
magnetic fields. The theory is applied to calculate magnetoresistance caused by
the weak localization in graphene and conducting surfaces of bulk topological
insulators.
